Skip to content

Commit ae4c0f0

Browse files
authored
fix: sync docs with defaults in code
Signed-off-by: alexvoss <alex@corealization.com>
1 parent 50566ba commit ae4c0f0

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

docs/setup/extensions/index.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,23 +100,31 @@ extensions are enabled by default:
100100
[project.markdown_extensions.pymdownx.arithmatex]
101101
generic = true
102102
[project.markdown_extensions.pymdownx.betterem]
103-
smart_enable = "all"
104103
[project.markdown_extensions.pymdownx.caret]
105104
[project.markdown_extensions.pymdownx.details]
106105
[project.markdown_extensions.pymdownx.emoji]
107106
emoji_generator = "zensical.extensions.emoji.to_svg"
108107
emoji_index = "zensical.extensions.emoji.twemoji"
109108
[project.markdown_extensions.pymdownx.highlight]
109+
anchor_linenums = true
110+
line_spans = "__span"
111+
pygments_lang_class = true
110112
[project.markdown_extensions.pymdownx.inlinehilite]
111113
[project.markdown_extensions.pymdownx.keys]
114+
[project.markdown_extensions.pymdownx.magiclink]
112115
[project.markdown_extensions.pymdownx.mark]
113116
[project.markdown_extensions.pymdownx.smartsymbols]
114117
[project.markdown_extensions.pymdownx.superfences]
118+
custom_fences = [
119+
{ name = "mermaid", class = "mermaid", format = "pymdownx.superfences.fence_code_format" }
120+
]
115121
[project.markdown_extensions.pymdownx.tabbed]
116122
alternate_style = true
123+
combine_header_slug = true
117124
[project.markdown_extensions.pymdownx.tasklist]
118125
custom_checkbox = true
119126
[project.markdown_extensions.pymdownx.tilde]
127+
120128
```
121129

122130
=== "`mkdocs.yml`"
@@ -133,21 +141,28 @@ extensions are enabled by default:
133141
permalink: true
134142
- pymdownx.arithmatex:
135143
generic: true
136-
- pymdownx.betterem:
137-
smart_enable: all
144+
- pymdownx.betterem
138145
- pymdownx.caret
139146
- pymdownx.details
140147
- pymdownx.emoji:
141148
emoji_index: !!python/name:material.extensions.emoji.twemoji
142149
emoji_generator: !!python/name:material.extensions.emoji.to_svg
143-
- pymdownx.highlight
150+
- pymdownx.highlight:
151+
anchor_linenums: true
152+
line_spans: __span
153+
pygments_lang_class: true
144154
- pymdownx.inlinehilite
145155
- pymdownx.keys
146156
- pymdownx.mark
147157
- pymdownx.smartsymbols
148-
- pymdownx.superfences
158+
- pymdownx.superfences:
159+
custom_fences:
160+
- name: mermaid
161+
class: mermaid
162+
format: !!python/name:pymdownx.superfences.fence_code_format
149163
- pymdownx.tabbed:
150164
alternate_style: true
165+
combine_header_slug: true
151166
- pymdownx.tasklist:
152167
custom_checkbox: true
153168
- pymdownx.tilde

0 commit comments

Comments
 (0)