diff options
author | Francesco Tomaselli <tomaselli.fr@gmail.com> | 2025-02-21 09:48:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-21 09:48:40 +0100 |
commit | 4ed992287f8a3e26fd8b198816e89253d97b4cdd (patch) | |
tree | f6ad65b43a2f2c39325b212b308ce1fa7188fc66 /wiki | |
parent | 497f3d51c30de5a449846fca9c989044f37a0df5 (diff) | |
parent | 2310f6160404914c7245c3178bc8f0f0532b2caf (diff) |
Merge pull request #86 from OleMussmann/configure-mermaid-theme
Configure mermaid theme
Diffstat (limited to 'wiki')
-rw-r--r-- | wiki/features/other-parameters.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/wiki/features/other-parameters.md b/wiki/features/other-parameters.md index 2c4cfb0..136698e 100644 --- a/wiki/features/other-parameters.md +++ b/wiki/features/other-parameters.md @@ -89,4 +89,10 @@ You can easily generate favicons using [this website](https://realfavicongenerat ## Mermaid Diagrams -Mermaid diagrams are supported by theme, just follow [this reference](https://gohugo.io/content-management/diagrams/#mermaid-diagrams) to use them.
\ No newline at end of file +Mermaid diagrams are supported, just follow [this reference](https://gohugo.io/content-management/diagrams/#mermaid-diagrams) to use them. You can set Mermaid's light- and dark themes in your config; they switch with your blog's light/dark state. These are the defaults: + +```toml +[params] +mermaidTheme = "default" +mermaidDarkTheme = "dark" +``` |