mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-15 21:39:40 +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:
|
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%'
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user