Skip to content

Commit

Permalink
fix: linting err in flowchart docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Yash-Singh1 committed May 11, 2022
1 parent 32a2e5f commit 18114ab
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/diagrams-and-syntax-and-examples/flowchart.md
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ graph LR;
```

Beginners tip, a full example using interactive links in a html context:

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

```javascript
mermaid.flowchartConfig = {
width: 100%
width: '100%'
}
```

0 comments on commit 18114ab

Please sign in to comment.