badboy / mdbook-mermaid

A preprocessor for mdbook to add mermaid support
Mozilla Public License 2.0
306 stars 32 forks source link

Simple example from readme has an extra backtick box #20

Closed deepankarsharma closed 2 years ago

deepankarsharma commented 2 years ago

Using the following markup results in the image below

graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;

Extra superfluous backtick box

This is on mdbook-mermaid v0.11.0

deepankarsharma commented 2 years ago

Never mind, issue was on my side. mdbook was having some issues with my markup and running mdbook test revealed what the issue was.

ChrisB9 commented 2 years ago

I do have the same issue, in the markdown rendering there are 4 backticks everywhere. I solved it by making the graphviz preprocessor running as the last processor.

drahnr commented 1 year ago

Had a similar issue, with the `` showing up and subsequent graphz not rendering in the mdbook, I hadgraphvizas plugin andlinkcheck` as output check. Removed both, and the issues went away.