From 6871d33339f84d2ec97320d09d5381d5f4b9d217 Mon Sep 17 00:00:00 2001 From: Martin Donath Date: Wed, 8 Apr 2026 14:48:45 +0200 Subject: [PATCH] feature: add default Markdown Extensions to bootstrapped `zensical.toml` Signed-off-by: squidfunk --- python/zensical/bootstrap/zensical.toml | 37 +++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/python/zensical/bootstrap/zensical.toml b/python/zensical/bootstrap/zensical.toml index 1ff7ad2..b62e5a5 100644 --- a/python/zensical/bootstrap/zensical.toml +++ b/python/zensical/bootstrap/zensical.toml @@ -303,3 +303,40 @@ toggle.name = "Switch to light mode" #[[project.extra.social]] #icon = "fontawesome/brands/github" #link = "https://github.com/user/repo" + +# ---------------------------------------------------------------------------- +# In this section you can configure the Markdown extensions that are used when +# rendering your documentation. We enable the most useful extensions by default, +# but you can customize this list to your needs. +# +# Read more: +# - https://zensical.org/docs/setup/extensions/ +# ---------------------------------------------------------------------------- +[project.markdown_extensions.abbr] +[project.markdown_extensions.admonition] +[project.markdown_extensions.attr_list] +[project.markdown_extensions.def_list] +[project.markdown_extensions.footnotes] +[project.markdown_extensions.md_in_html] +[project.markdown_extensions.toc] +permalink = true +[project.markdown_extensions.pymdownx.arithmatex] +generic = true +[project.markdown_extensions.pymdownx.betterem] +smart_enable = "all" +[project.markdown_extensions.pymdownx.caret] +[project.markdown_extensions.pymdownx.details] +[project.markdown_extensions.pymdownx.emoji] +emoji_generator = "zensical.extensions.emoji.to_svg" +emoji_index = "zensical.extensions.emoji.twemoji" +[project.markdown_extensions.pymdownx.highlight] +[project.markdown_extensions.pymdownx.inlinehilite] +[project.markdown_extensions.pymdownx.keys] +[project.markdown_extensions.pymdownx.mark] +[project.markdown_extensions.pymdownx.smartsymbols] +[project.markdown_extensions.pymdownx.superfences] +[project.markdown_extensions.pymdownx.tabbed] +alternate_style = true +[project.markdown_extensions.pymdownx.tasklist] +custom_checkbox = true +[project.markdown_extensions.pymdownx.tilde]