From 4da64100e6e163db8eb7e8bcc0ff87ac68bbc915 Mon Sep 17 00:00:00 2001 From: Cat Tom Date: Wed, 24 Jul 2024 12:51:07 +0800 Subject: [PATCH] add markdown_extensions --- mkdocs.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/mkdocs.yml b/mkdocs.yml index 5c4bb7e..564c9cb 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -26,5 +26,37 @@ theme: primary: blue grey accent: light blue +markdown_extensions: + # Python Markdown + - abbr + - admonition + - attr_list + - def_list + - footnotes + - md_in_html + - toc: + permalink: true + # Python Markdown Extensions + - pymdownx.arithmatex: + generic: true + - pymdownx.betterem: + smart_enable: all + - pymdownx.caret + - pymdownx.details + - pymdownx.emoji: + emoji_index: !!python/name:material.extensions.emoji.twemoji + emoji_generator: !!python/name:material.extensions.emoji.to_svg + - pymdownx.highlight + - pymdownx.inlinehilite + - pymdownx.keys + - pymdownx.mark + - pymdownx.smartsymbols + - pymdownx.superfences + - pymdownx.tabbed: + alternate_style: true + - pymdownx.tasklist: + custom_checkbox: true + - pymdownx.tilde + plugins: - search