Help with Mermaid
CompletedI'm having trouble following the instructions using Mermaid.
Per the documentation (I think), I have a document that looks like this
XHTML Header: <script src="https://unpkg.com/mermaid@8.4.0/dist/mermaid.min.js"></script>
```mermaid
graph LR
A --- B
B-->C
B-->D;
```
But I don't see a diagram even after refreshing the Preview all I see is

0
-
Your MultiMarkdown seems to be correct (view the generated HTML to verify.)
You would have to verify with the Mermaid devs as to what must happen in order for the script to actually work (e.g. only when a document is loaded, not when it is modified). In the meantime, you can toggle the preview off, then on until it kicks in.
0
Please sign in to leave a comment.
Comments
1 comment