-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
81 lines (71 loc) · 1.61 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# Project information
site_name: Beike's blog.
site_url: https://beike-zh.github.io/
site_author: beike-zh
# Repository
repo_name: beike-zh/beike-zh.github.io
repo_url: https://github.com/beike-zh/beike-zh.github.io
edit_uri: ''
# Copyright
copyright: beike-zh
theme:
name: material
palette:
- scheme: default
primary: black
accent: red
toggle:
icon: material/toggle-switch
name: Switch to light mode
- scheme: slate
primary: indigo
accent: blue
toggle:
icon: material/toggle-switch-off-outline
name: Switch to dark mode
markdown_extensions:
- admonition
- abbr
- attr_list
- def_list
- footnotes
- meta
# formatting
- pymdownx.critic
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret
- pymdownx.mark
- pymdownx.tilde
- pymdownx.smartsymbols
# toc
- toc:
permalink: true
# highlight line-number
- pymdownx.highlight:
linenums: true
linenums_style: pymdownx.inline
- pymdownx.inlinehilite
- pymdownx.superfences
- pymdownx.snippets
- pymdownx.keys
- pymdownx.tabbed
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
# LaTeX
- pymdownx.arithmatex:
generic: true
plugins:
- search:
separator: '[\s\-\.]+'
prebuild_index: true
lang:
- en
# LaTeX
extra_javascript:
- javascripts/config.js
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js