Allow embedding `svg` directly into the HTML document
multimeric opened this issue · 1 comments
multimeric commented
At the moment, pandoc -t html -F mermaid-filter -o output.html input.md
always outputs the diagram inside an <img>
element. It might be nice to add a setting that puts it into an <svg>
element so it can be affected by CSS and JS on the page.
raghur commented
Can you try out master branch? One issue I see is that the way mermaid generates ids breaks theming (last one wins)