#4220 Parsing the text as markdown and rendering accordingly

This commit is contained in:
Knut Sveidqvist
2023-03-20 14:15:26 +01:00
parent 853d9b7f98
commit a1c50b8079
8 changed files with 434 additions and 84 deletions

View File

@@ -67,6 +67,14 @@ b --> d(The dog in the hog)
c --> d
</pre>
<pre id="diagram" class="mermaid">
mindmap
id1["`Start`"]
id2["`Child **with bold** text`"]
id3["`Children of which some
is using *italic type of* text`"]
id4[Child]
</pre>
<pre id="diagram" class="mermaid2">
mindmap
id1["`Start
second line 😎`"]
@@ -273,12 +281,14 @@ mindmap
mermaid.initialize({
theme: 'forest',
startOnLoad: true,
logLevel: 5,
logLevel: 0,
flowchart: {
// defaultRenderer: 'elk',
useMaxWidth: false,
// htmlLabels: false,
htmlLabels: true,
},
htmlLabels: true,
gantt: {
useMaxWidth: false,
},