-
Notifications
You must be signed in to change notification settings - Fork 39
/
mkdocs.yml
52 lines (51 loc) · 1.32 KB
/
mkdocs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# official tutorial
# mkdocs-material: https://squidfunk.github.io/mkdocs-material/
# mkdocs: https://www.mkdocs.org/user-guide/configuration/
site_name: Foam-mkdocs-template
theme:
name: material
# favicon: attachment/portrait.png
language: zh # 中文,解决中文搜索问题
features:
- navigation.expand
- tabs
markdown_extensions:
- attr_list # https://squidfunk.github.io/mkdocs-material/reference/images/
- pymdownx.tabbed # https://squidfunk.github.io/mkdocs-material/reference/content-tabs/
- nl2br # newline-to-break
- toc:
permalink: '#' # heading anchor
slugify: !!python/name:pymdownx.slugs.uslugify # 解决中文标题解析问题
- admonition
- codehilite:
guess_lang: false
linenums: false
- footnotes
- meta
- def_list
- pymdownx.arithmatex
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret
- pymdownx.critic
- pymdownx.details
# - pymdownx.emoji:
# emoji_generator: !!python/name:pymdownx.emoji.to_png
- pymdownx.inlinehilite
- pymdownx.magiclink
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.superfences
- pymdownx.tasklist
- pymdownx.tilde
plugins:
- search
- roamlinks
#- autolinks
- exclude:
glob:
- "*.tmp"
- "*.pdf"
- "*.gz"
regex:
- '.*\.(tmp|bin|tar)$'