-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Thanks @andykuszyk for noticing this issue! Continues discussion from #6.
Mermaid diagrams are blank when markdown-xwidget-command is set to "pandoc". When run against example.md, pandoc creates some HTML that looks like this:
<pre class="mermaid"><code>graph LR
A --> B
B --> C</code></pre>This doesn't work with mermaid, because the class attribute needs to be on the element that directly contains the graph (so on the <code> block).
In contrast, multimarkdown creates HTML like this, which does work with mermaid:
<pre><code class="mermaid">graph LR
A --> B
B --> C
</code></pre>andykuszyk
Metadata
Metadata
Assignees
Labels
No labels