Skip to content

Commit 07973c3

Browse files
committed
Add custom_fences config to mkdocs.yml
Signed-off-by: Jitse Klomp <[email protected]>
1 parent c68299e commit 07973c3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

mkdocs.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,11 @@ markdown_extensions:
5959
- pymdownx.details
6060
- pymdownx.highlight
6161
- pymdownx.inlinehilite
62-
- pymdownx.superfences
62+
- pymdownx.superfences:
63+
custom_fences:
64+
- name: mermaid
65+
class: mermaid
66+
format: !!python/name:mermaid2.fence_mermaid_custom
6367
- pymdownx.snippets:
6468
base_path: site-src
6569
check_paths: true

0 commit comments

Comments
 (0)