From 4fa043ff49e18ca421ed005661289287d6d5b83a Mon Sep 17 00:00:00 2001 From: kiblik <5609770+kiblik@users.noreply.github.com> Date: Wed, 3 Jul 2024 15:52:34 +0200 Subject: [PATCH] enable mermaid, disable guessSyntax --- docs/config.dev.toml | 6 +++++- docs/config.master.toml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/config.dev.toml b/docs/config.dev.toml index 23b9cf30c52..65fff4564ba 100644 --- a/docs/config.dev.toml +++ b/docs/config.dev.toml @@ -85,7 +85,8 @@ weight = 1 # See a complete list of available styles at https://xyproto.github.io/splash/docs/all.html style = "dracula" # Uncomment if you want your chosen highlight style used for code blocks without a specified language - guessSyntax = "true" + # Do not uncomment otherwise it breaks mermaid + # guessSyntax = "true" # Everything below this are Site Params @@ -198,3 +199,6 @@ enable = false url = "https://owasp.slack.com/archives/C014H3ZV9U6" icon = "fab fa-slack" desc = "Chat with other project developers" + +[params.mermaid] +enable = true diff --git a/docs/config.master.toml b/docs/config.master.toml index 5771eb8367b..29c4e0a6adc 100644 --- a/docs/config.master.toml +++ b/docs/config.master.toml @@ -85,7 +85,8 @@ weight = 1 # See a complete list of available styles at https://xyproto.github.io/splash/docs/all.html style = "dracula" # Uncomment if you want your chosen highlight style used for code blocks without a specified language - guessSyntax = "true" + # Do not uncomment otherwise it breaks mermaid + # guessSyntax = "true" # Everything below this are Site Params @@ -198,3 +199,6 @@ enable = false url = "https://owasp.slack.com/archives/C014H3ZV9U6" icon = "fab fa-slack" desc = "Chat with other project developers" + +[params.mermaid] +enable = true