Skip to content

Commit

Permalink
docs: correct mermaid2 configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
lyz-code committed Mar 10, 2022
1 parent 4518cc3 commit 7bfbd99
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions mkdocs.yml
Expand Up @@ -35,9 +35,6 @@ plugins:
- git-revision-date-localized:
type: timeago
fallback_to_build_date: true
- mermaid2:
arguments:
securityLevel: loose
# Not compatible with mermaid2
# - minify:
# minify_html: true
Expand Down Expand Up @@ -66,12 +63,11 @@ markdown_extensions:
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.superfences:
# make exceptions to highlighting of code:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:mermaid2.fence_mermaid
- pymdownx.tabbed
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tasklist:
custom_checkbox: true
Expand Down

0 comments on commit 7bfbd99

Please sign in to comment.