diff --git a/docs/diagrams-and-syntax-and-examples/flowchart.md b/docs/diagrams-and-syntax-and-examples/flowchart.md
index 68e274142..8f4dc4be5 100644
--- a/docs/diagrams-and-syntax-and-examples/flowchart.md
+++ b/docs/diagrams-and-syntax-and-examples/flowchart.md
@@ -450,6 +450,7 @@ graph LR;
```
Beginners tip, a full example using interactive links in a html context:
+
```html
@@ -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);
@@ -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%'
}
```