Skip to content

Commit 1072e4a

Browse files
committed
doc: support github callouts in mkdocs
see https://github.com/oprypin/markdown-callouts Signed-off-by: Huaqi Fang <578567190@qq.com> T #
1 parent c193806 commit 1072e4a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/mkdoc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
python3 -m pip install --upgrade pip
3232
# https://github.com/comwes/mkpdfs-mkdocs-plugin/issues/59
3333
# https://github.com/Kozea/WeasyPrint/issues/2202
34-
pip3 install mkdocs mkdocs-material pymdown-extensions twine pydyf==0.10.0 mkpdfs2-mkdocs
34+
pip3 install mkdocs mkdocs-material markdown-callouts pymdown-extensions twine pydyf==0.10.0 mkpdfs2-mkdocs
3535
3636
- name: Prepare docs
3737
run: |

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ plugins:
3939
markdown_extensions:
4040
- toc:
4141
permalink: true
42+
- callout
4243
- pymdownx.magiclink
4344
# https://github.com/mkdocs/mkdocs-bootswatch/issues/65#issuecomment-1030505626
4445
extra_css:

0 commit comments

Comments
 (0)