fix: clean comments in text in getDiagramFromText API so flowchart works well

This commit is contained in:
Aakansha Doshi
2023-11-27 13:19:31 +05:30
parent 0c0f7a739e
commit 1d5378a4f2
2 changed files with 10 additions and 2 deletions

View File

@@ -1539,7 +1539,11 @@
class I bugged_node
</pre>
<hr />
<pre class="mermaid">
flowchart LR
%% this is a comment A -- text --> B{node}
A -- text --> B -- text2 --> C
</pre>
<h1 id="link-clicked">Anchor for "link-clicked" test</h1>
<script type="module">