docs: mermaid graphs enabled

This commit is contained in:
Mateusz Pusz
2023-06-22 18:16:44 +02:00
parent ef217b61fd
commit 462b04358c
2 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
mjx-math { mjx-math {
font-size: 85% !important; font-size: 85% !important;
} }
.mermaid {
text-align: center;
}

View File

@@ -80,7 +80,11 @@ markdown_extensions:
pygments_lang_class: true pygments_lang_class: true
- pymdownx.inlinehilite - pymdownx.inlinehilite
- pymdownx.snippets - pymdownx.snippets
- pymdownx.superfences - pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed: - pymdownx.tabbed:
alternate_style: true alternate_style: true
- pymdownx.tasklist: - pymdownx.tasklist: