File tree Expand file tree Collapse file tree 3 files changed +8
-23
lines changed
_includes/markdown-enhancements Expand file tree Collapse file tree 3 files changed +8
-23
lines changed Original file line number Diff line number Diff line change
1
+ {% if page.mermaid == true %}
1
2
< script src ="https://cdnjs.cloudflare.com/ajax/libs/mermaid/8.0.0/mermaid.min.js "> </ script >
2
3
< script >
3
- mermaid . initialize ( {
4
- startOnLoad :true ,
5
- theme : 'default'
6
- } ) ;
7
- window . mermaid . init ( undefined , document . querySelectorAll ( '.language-mermaid' ) ) ;
4
+ var config = {
5
+ startOnLoad :true ,
6
+ theme : 'default'
7
+ } ;
8
+ mermaid . initialize ( config ) ;
9
+ window . mermaid . init ( undefined , document . querySelectorAll ( '.language-mermaid' ) ) ;
8
10
</ script >
11
+ {% endif %}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ mermaid: true
7
7
8
8
A picture of the most commonly encountered branches of the tree.
9
9
10
- {{page.mermaid}}
11
-
12
10
The full FreeCAD source tree has many other branches, but most Contributors will
13
11
only need to deal with these:
14
12
You can’t perform that action at this time.
0 commit comments