From 62b5c53bbcffb44116c54730406c0bd65a7b4d7c Mon Sep 17 00:00:00 2001 From: Michael Peter Date: Fri, 20 Sep 2024 14:02:33 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=96=20[Docs]=20Enable=20mermaid.js=20(?= =?UTF-8?q?#1290)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Enable mermaid.js via https://squidfunk.github.io/mkdocs-material/reference/diagrams/#configuration --- mkdocs.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mkdocs.yml b/mkdocs.yml index ec6ed83e6..cc95662a3 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -31,7 +31,11 @@ markdown_extensions: pygments_lang_class: true - pymdownx.inlinehilite - pymdownx.snippets - - pymdownx.superfences + - pymdownx.superfences: + custom_fences: + - name: mermaid + class: mermaid + format: !!python/name:pymdownx.superfences.fence_code_format - def_list - pymdownx.tasklist: custom_checkbox: true