You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
<preclass="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><codeclass="mermaid">graph LR
A --> B
B --> C
</code></pre>
The text was updated successfully, but these errors were encountered:
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: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:
The text was updated successfully, but these errors were encountered: