Skip to content

Commit 755facc

Browse files
committed
add mermaidjs plugin
1 parent 346190d commit 755facc

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ repos:
99
- id: check-json
1010
- id: check-merge-conflict
1111
- id: check-yaml
12+
args: [--unsafe]
1213
- id: detect-private-key
1314
- id: end-of-file-fixer
1415
- id: mixed-line-ending

mkdocs.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,17 @@ edit_uri: edit/main/docs/
2323
markdown_extensions:
2424
- admonition
2525
- pymdownx.details
26-
- pymdownx.superfences
26+
- pymdownx.superfences:
27+
custom_fences:
28+
- name: mermaid
29+
class: mermaid
30+
format: !!python/name:mermaid2.fence_mermaid_custom
2731
- attr_list
2832

33+
plugins:
34+
- search
35+
- mermaid2:
36+
version: 11.10.1
2937

3038
nav:
3139
- "Service Status": status/index.md

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ mkdocs==1.6.1
22
mkdocs-get-deps==0.2.0
33
mkdocs-material==9.6.14
44
mkdocs-material-extensions==1.3.1
5+
mkdocs-mermaid2-plugin==1.2.2
56
packaging==25.0
67
pre_commit==4.2.0
78
setuptools==80.9.0

0 commit comments

Comments
 (0)