Open Gowa2017 opened 4 years ago
Reopen for have same problem too.
We should delete the mermaid stylesheets:
https://github.com/MacDownApp/macdown/blob/master/MacDown/Code/Document/MPRenderer.m#L437
MWE to reproduce the bug? Please provide the text so it’s easy to copy-paste.
MWE to reproduce the bug? Please provide the text so it’s easy to copy-paste.
like this dot code
digraph { node [style=filled,color=blue]; a -> b }
I use blue to fill the node, but the color is memraid's color,as it define a node style which override the vizjs's style.But in memraid v8.3, this mermaid 's forest css file is not needed,so we should delete it.
Took me a while to reproduce it. Full Markdown:
```dot
digraph { node [style=filled,color=blue]; a -> b }
If you enable Graphviz but disable Mermaid then it’s good; only when one enable both Mermaid and Graphviz will this issue be reproduced.
Like
digraph { node [style=filled,color=white]; a -> b }
The result is:
On viz-js.com , it seems :
I know why!. The mermaid we use is older version, it's css file 'mermaid.forest.css' override the node's style.
So, If we upgrade the mermeiad, we do not need the mermaid.forest.css file. So it is ok.
Like this: