diff --git a/assets/scripts/features/flowchart/mermaid.js b/assets/scripts/features/flowchart/mermaid.js index 501a48f..2d4365d 100644 --- a/assets/scripts/features/flowchart/mermaid.js +++ b/assets/scripts/features/flowchart/mermaid.js @@ -86,7 +86,6 @@ function setMermaidTheme(siteTheme) { function initMermaid() { saveOriginalData().catch(console.error); - setMermaidTheme("light"); } export { setMermaidTheme } \ No newline at end of file diff --git a/exampleSite/hugo.yaml b/exampleSite/hugo.yaml index e2572cd..0f0debd 100644 --- a/exampleSite/hugo.yaml +++ b/exampleSite/hugo.yaml @@ -240,7 +240,7 @@ params: # Enable this to create flowcharts using shortcodes. flowchart: - enable: false + enable: true services: # Uncomment for `mermaid` shortcode. mermaid: