diff options
author | Ole Mussmann <gitlab+account@ole.mn> | 2025-02-20 21:00:16 +0100 |
---|---|---|
committer | Ole Mussmann <gitlab+account@ole.mn> | 2025-02-21 08:57:59 +0100 |
commit | 2310f6160404914c7245c3178bc8f0f0532b2caf (patch) | |
tree | 05fd70b3c49e72e1e7f5fe09e1e5ef8f8a5fecc4 /wiki | |
parent | a05a5b2704eec66e84c4fc3045127e354cf38e1a (diff) |
make mermaid themes configurable
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" +``` |