File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -318,7 +318,7 @@ drwxrwxr-x 2 ustc ustc 4096 Feb 3 22:38 a_folder
318
318
而 UNIX 系列采用了一种不一样的思路组织文件:整个系统的文件都从 ` / ` (根目录)开始,像一棵树一样,类似于下图。
319
319
320
320
``` mermaid
321
- graph TD
321
+ graph LR
322
322
/ --> bin
323
323
/ --> boot
324
324
/ --> dev
@@ -348,7 +348,7 @@ graph TD
348
348
lisi --> docs
349
349
350
350
mnt --> windows_disk
351
- subgraph
351
+ subgraph mount
352
352
windows_disk --> Windows
353
353
windows_disk --> Users
354
354
end
Original file line number Diff line number Diff line change @@ -46,13 +46,19 @@ markdown_extensions:
46
46
- pymdownx.emoji :
47
47
emoji_index : !!python/name:material.extensions.emoji.twemoji
48
48
emoji_generator : !!python/name:material.extensions.emoji.to_svg
49
+ - pymdownx.superfences :
50
+ custom_fences :
51
+ - name : mermaid
52
+ class : mermaid
53
+ format : !!python/name:mermaid2.fence_mermaid_custom
49
54
- pymdownx.inlinehilite
50
55
- pymdownx.keys
51
56
- pymdownx.superfences
52
57
- markdown.extensions.def_list
53
58
- toc :
54
59
permalink : true
55
60
61
+
56
62
extra :
57
63
social :
58
64
- icon : octicons/globe-16
@@ -63,6 +69,10 @@ extra:
63
69
provider : google
64
70
property : G-Q8WSZQS8E1
65
71
72
+ plugins :
73
+ - mermaid2 :
74
+ javascript : https://unpkg.com/mermaid@10.4.0/dist/mermaid.esm.min.mjs
75
+
66
76
extra_css :
67
77
- ' css/extra.css'
68
78
- ' https://101.lug.ustc.edu.cn/_extra/roboto.css'
Original file line number Diff line number Diff line change 1
1
mkdocs >= 1.5.3
2
2
mkdocs-material >= 9.4.6
3
3
jieba
4
+ mkdocs-mermaid2-plugin
You can’t perform that action at this time.
0 commit comments