Styling a Mermaid node in a Markdown file via CSS #4311
Unanswered
JosueGauthier
asked this question in
Q&A
Replies: 1 comment 2 replies
-
it works on github and codesandbox mermaid https://codesandbox.io/s/ancient-paper-my3c8t?file=/index.html Can you use devtools or something to check if the css is loaded and not applied or overridden? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I would like to customize globally my Mermaid diagram in a Markdown file.
I declare a style balise and put : green2 > rect that enable to change style of a node in Mermaid. The problem is that the caption "Node A" don't change its color.
However if i put this it works perfectly:
Here the css :
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions