#4220 Create text utility functions handling new lines and applying them on mindmap

This commit is contained in:
Knut Sveidqvist
2023-03-14 13:52:20 +01:00
parent f3a9f81bfb
commit 853d9b7f98
6 changed files with 219 additions and 22 deletions

View File

@@ -54,7 +54,7 @@
</style>
</head>
<body>
<pre id="diagram" class="mermaid">
<pre id="diagram" class="mermaid2">
%%{init: {"flowchart": {"defaultRenderer": "elk"}} }%%
graph BT
a{The cat in the hat} -- 1o --> b
@@ -66,12 +66,13 @@ h --3i -->a
b --> d(The dog in the hog)
c --> d
</pre>
<pre id="diagram" class="mermaid2">
flowchart-elk TB
a --> b
a --> c
b --> d
c --> d
<pre id="diagram" class="mermaid">
mindmap
id1["`Start
second line 😎`"]
id2[Child]
id3[Child]
id4[Child]
</pre>
<pre id="diagram" class="mermaid2">
%%{init: {"flowchart": {"defaultRenderer": "elk"}} }%%