Skip to content

Commit 3a43b9d

Browse files
committed
🔧 config(mkdocs.yaml): enable callouts and PyMdown Tab Extension
1 parent 3fa247d commit 3a43b9d

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

‎template/mkdocs.yml.jinja‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,13 @@ markdown_extensions:
116116
- pymdownx.emoji:
117117
emoji_index: !!python/name:material.extensions.emoji.twemoji
118118
emoji_generator: !!python/name:material.extensions.emoji.to_svg
119+
- pymdownx.blocks.tab:
120+
alternate_style: true
121+
- pymdownx.tabbed:
122+
alternate_style: true
123+
slugify: !!python/object/apply:pymdownx.slugs.slugify
124+
kwds:
125+
case: lower
126+
- callouts:
127+
strip_period: no
128+
- md_in_html

‎template/pyproject.toml.jinja‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ dev = [
6666
"mkdocs>=1.6.1",
6767
"mkdocs-material>=9.6.11",
6868
"mkdocstrings[python]>=0.29.1",
69+
"markdown-callouts>=0.4.0",
6970
"griffe-typingdoc>=0.2.8",
7071
"griffe>=1.7.2",
7172
"ipython>=8.35.0",

0 commit comments

Comments
 (0)