chore: no lint for html in md

This commit is contained in:
Yash-Singh1
2022-05-10 18:08:32 -07:00
parent 3a56bbed2e
commit d7b1cd912c
5 changed files with 70 additions and 24 deletions

View File

@@ -414,7 +414,9 @@ Examples of tooltip usage below:
```html
<script>
var callback = function(){ alert('A callback was triggered'); };
var callback = function () {
alert('A callback was triggered');
};
</script>
```
@@ -462,8 +464,18 @@ Beginners tip, a full example using interactive links in a html context:
</div>
<script>
var callback = function(){ alert('A callback was triggered'); }; var config = { startOnLoad:true,
flowchart:{ useMaxWidth:true, htmlLabels:true, curve:'cardinal', }, securityLevel:'loose', };
var callback = function () {
alert('A callback was triggered');
};
var config = {
startOnLoad: true,
flowchart: {
useMaxWidth: true,
htmlLabels: true,
curve: 'cardinal'
}
securityLevel:'loose'
};
mermaid.initialize(config);
</script>
</body>
@@ -565,14 +577,12 @@ below:
**Example style**
```html
<style>
.cssClass > rect{
fill:#FF0000;
stroke:#FFFF00;
stroke-width:4px;
}
</style>
```css
.cssClass > rect {
fill: #FF0000;
stroke: #FFFF00;
stroke-width: 4px;
}
```
**Example definition**