mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-14 21:09:50 +02:00
fix: linting err in flowchart docs
This commit is contained in:
@@ -450,6 +450,7 @@ graph LR;
|
||||
```
|
||||
|
||||
Beginners tip, a full example using interactive links in a html context:
|
||||
|
||||
```html
|
||||
<body>
|
||||
<div class="mermaid">
|
||||
@@ -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>
|
||||
@@ -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%'
|
||||
}
|
||||
```
|
||||
|
Reference in New Issue
Block a user