mermaid-docsify
mermaid-docsify copied to clipboard
Customize styles
Is there a recommended way to change the default look & feel?
Is there a recommended way to change the default look & feel?
I have the same question.
Customizing mermaid can be done in the mermaid.initialize()
call:
<script>
mermaid.initialize({
startOnLoad: true,
theme: 'dark', // change to the desired theme
// other options here ...
});
</script>
Thanks @engineervix. @Leward can we have this in the README?