We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b31070 commit 6962efbCopy full SHA for 6962efb
book/mermaid-init.js
@@ -1 +1,4 @@
1
-mermaid.initialize({startOnLoad:true});
+mermaid.initialize({
2
+ startOnLoad: true,
3
+ theme: ['coal', 'navy', 'ayu'].includes(theme) ? 'dark' : 'default',
4
+});
0 commit comments