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

@@ -402,7 +402,9 @@ click Shape2 call callbackFunction() "This is a tooltip for a callback"
```html
<script>
var callbackFunction = function(){ alert('A callback was triggered'); }
var callbackFunction = function () {
alert('A callback was triggered');
};
</script>
```
@@ -452,8 +454,14 @@ Beginners tip, a full example using interactive links in an html context:
</div>
<script>
var callback = function(){ alert('A callback was triggered'); }; var config = { startOnLoad:true,
securityLevel:'loose', }; mermaid.initialize(config);
var callback = function () {
alert('A callback was triggered');
};
var config = {
startOnLoad: true,
securityLevel: 'loose'
};
mermaid.initialize(config);
</script>
</body>
```