This repository has been archived by the owner on Sep 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
123 lines (117 loc) · 3.45 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
site_name: Zotero introduction
site_description: 优雅地用 Zotero 进行文献管理和论文写作 - A Short Chinese Introduction to Zotero
site_url: https://northword.github.io/zotero-intro-md
repo_name: zotero-intro-md
repo_url: https://github.com/northword/zotero-intro-md
theme:
name: 'material'
# favicon: assets/logo/favicons.png
# logo: assets/logo/favicons.png
icon:
repo: fontawesome/brands/github
# custom_dir: material
# custom_dir: overrides
font:
text: Karla
code: Ubuntu Mono
language: zh
palette:
# Light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: indigo
accent: indigo
toggle:
icon: material/toggle-switch
name: Switch to dark mode
# Dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: indigo
accent: indigo
toggle:
icon: material/toggle-switch-off-outline
name: Switch to light mode
features:
- navigation.indexes
- navigation.top
# - navigation.tabs
# - navigation.tabs.sticky
# - navigation.sections
- navigation.instant
# - navigation.expand
# Extensions
markdown_extensions:
- footnotes
- nl2br
- attr_list
- sane_lists
- meta
- smarty
- tables
- mdx_breakless_lists
- admonition
- toc:
permalink: true
slugify: !!python/name:pymdownx.slugs.uslugify # 解决中文标题解析问题
- pymdownx.arithmatex:
generic: true
- pymdownx.details
- pymdownx.magiclink
- pymdownx.critic
- pymdownx.caret
- pymdownx.keys
- pymdownx.mark
- pymdownx.tilde
- pymdownx.highlight:
use_pygments: true
anchor_linenums: true
linenums: true
linenums_style: pymdownx-inline
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.emoji:
emoji_generator: !!python/name:pymdownx.emoji.to_svg
- pymdownx.snippets
- pymdownx.superfences:
custom_fences:
- name: dataview
class: dataview
format: !!python/name:pymdownx.superfences.fence_div_format
- name: mermaid
class: mermaid
format: !!python/name:mermaid2.fence_mermaid
plugins:
- search
# - ezlinks: # https://github.com/orbikm/mkdocs-ezlinks-plugin
# wikilinks: true
- mermaid2
- awesome-pages:
collapse_single_pages: true
- git-revision-date-localized: # https://timvink.github.io/mkdocs-git-revision-date-localized-plugin/options/
type: iso_datetime
# enable_creation_date: true
locale: zh
timezone: Asia/Shanghai
# enabled: false
extra_javascript:
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
# - assets/js/tooltipster.bundle.js
extra_css:
- https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css
# - assets/css/template/blog.css
# # - assets/css/template/grid.css
# # - assets/css/template/img-grids-float.css
# # - assets/css/template/tooltipster.bundle.min.css
# - assets/css/template/utils.css
# # - assets/css/admonition.css
# - assets/css/custom_attributes.css
# - assets/css/customization.css
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/redleafnew/Zotero_introduction
- icon: fontawesome/brands/github
link: https://github.com/northword
copyright: Copyright © 2016 - 2022 Northword