Add patch for Mermaid support
This commit is contained in:
parent
284af08408
commit
bcc1f29898
1 changed files with 11 additions and 1 deletions
12
mkdocs.yml
12
mkdocs.yml
|
@ -25,6 +25,7 @@ extra_css:
|
||||||
extra_javascript:
|
extra_javascript:
|
||||||
- https://cdnjs.cloudflare.com/ajax/libs/tablesort/5.2.1/tablesort.min.js
|
- https://cdnjs.cloudflare.com/ajax/libs/tablesort/5.2.1/tablesort.min.js
|
||||||
- javascripts/tables.js
|
- javascripts/tables.js
|
||||||
|
- https://unpkg.com/mermaid/dist/mermaid.min.js
|
||||||
|
|
||||||
markdown_extensions:
|
markdown_extensions:
|
||||||
- toc:
|
- toc:
|
||||||
|
@ -39,10 +40,19 @@ markdown_extensions:
|
||||||
- abbr
|
- abbr
|
||||||
- pymdownx.snippets
|
- pymdownx.snippets
|
||||||
- pymdownx.highlight
|
- pymdownx.highlight
|
||||||
- pymdownx.superfences
|
- pymdownx.superfences:
|
||||||
|
# make exceptions to highlighting of code:
|
||||||
|
custom_fences:
|
||||||
|
- name: mermaid
|
||||||
|
class: mermaid
|
||||||
|
format: !!python/name:mermaid2.fence_mermaid
|
||||||
|
|
||||||
|
|
||||||
plugins:
|
plugins:
|
||||||
- git-revision-date
|
- git-revision-date
|
||||||
|
- mermaid2:
|
||||||
|
arguments:
|
||||||
|
theme: 'dark'
|
||||||
|
|
||||||
extra:
|
extra:
|
||||||
social:
|
social:
|
||||||
|
|
Loading…
Reference in a new issue