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 894d7d3 commit 0ba715dCopy full SHA for 0ba715d
src/components/mermaid.tsx
@@ -30,9 +30,8 @@ export default function Mermaid() {
30
if (mermaidBlocks.length === 0) {
31
return;
32
}
33
- // @ts-ignore
34
const {default: mermaid} = await import('mermaid');
35
- mermaid.initialize({startOnLoad: false, theme: 'light'});
+ mermaid.initialize({startOnLoad: false});
36
mermaidBlocks.forEach(lightModeblock => {
37
// get rid of code highlighting
38
const code = lightModeblock.textContent ?? '';
0 commit comments