fix: linting err in flowchart docs

This commit is contained in:
Yash-Singh1
2022-05-10 18:52:02 -07:00
parent 32a2e5fc47
commit 18114ab9ce

View File

@@ -450,6 +450,7 @@ graph LR;
``` ```
Beginners tip, a full example using interactive links in a html context: Beginners tip, a full example using interactive links in a html context:
```html ```html
<body> <body>
<div class="mermaid"> <div class="mermaid">
@@ -473,8 +474,8 @@ Beginners tip, a full example using interactive links in a html context:
useMaxWidth: true, useMaxWidth: true,
htmlLabels: true, htmlLabels: true,
curve: 'cardinal' curve: 'cardinal'
} },
securityLevel:'loose' securityLevel: 'loose'
}; };
mermaid.initialize(config); mermaid.initialize(config);
</script> </script>
@@ -646,6 +647,6 @@ mermaid.flowchartConfig can be set to a JSON string with config parameters or th
```javascript ```javascript
mermaid.flowchartConfig = { mermaid.flowchartConfig = {
width: 100% width: '100%'
} }
``` ```