Feat: add Mermaid config

This commit is contained in:
Cell
2022-07-10 14:51:34 +08:00
parent e47abfde71
commit 01b1d40d6c
11 changed files with 33 additions and 7 deletions
@@ -718,6 +718,11 @@ Please open the code block below to view the complete sample configuration :(fa-
cursorChar = "|"
# cursor duration after typing finishing (measured in milliseconds, "-1" means unlimited)
duration = -1
# {{< version 0.2.15 >}} Mermaid config
[params.mermaid]
# For values, see https://mermaid-js.github.io/mermaid/#/Setup?id=theme
themes = ['neutral', 'dark']
# {{< version 0.2.12 >}} PanguJS config
[params.pangu]
@@ -720,6 +720,11 @@ hugo
cursorChar = "|"
# 打字结束之后光标的持续时间(单位是毫秒,"-1" 代表无限大)
duration = -1
# {{< version 0.2.15 >}} Mermaid 配置
[params.mermaid]
# 取值详见 https://mermaid-js.github.io/mermaid/#/Setup?id=theme
themes = ['neutral', 'dark']
# {{< version 0.2.12 >}} 盘古之白配置
[params.pangu]