From 20b8d62b930b1868a824e301d3a47794256bc542 Mon Sep 17 00:00:00 2001 From: Adam Foflonker <87928802+DnA-IntRicate@users.noreply.github.com> Date: Wed, 4 Feb 2026 18:18:29 +0200 Subject: [PATCH 1/2] Enable toc.integrate feature --- zensical.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zensical.toml b/zensical.toml index edaf07b..05e2e63 100644 --- a/zensical.toml +++ b/zensical.toml @@ -266,7 +266,7 @@ features = [ # When navigation integration for the table of contents is enabled, it is # always rendered as part of the navigation sidebar on the left. # https://zensical.org/docs/setup/navigation/#navigation-integration - #"toc.integrate", + "toc.integrate" ] # ---------------------------------------------------------------------------- From 2dfe6c6a3900e800cfae326ac51d5f7ada96cbf7 Mon Sep 17 00:00:00 2001 From: Adam Foflonker <87928802+DnA-IntRicate@users.noreply.github.com> Date: Wed, 4 Feb 2026 18:21:27 +0200 Subject: [PATCH 2/2] Explicitly handle all markdown extensions --- zensical.toml | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/zensical.toml b/zensical.toml index 05e2e63..198231d 100644 --- a/zensical.toml +++ b/zensical.toml @@ -397,3 +397,72 @@ note = """ GitHub issue. """ + +# Markdown extensions +# +# See: https://zensical.org/docs/setup/extensions/#configuration +[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.tables] +# +[project.markdown_extensions.toc] +permalink = true +toc_depth = 3 +# +[project.markdown_extensions.toc.slugify] +object = "pymdownx.slugs.slugify" +kwds = { case = "lower" } +# +[project.markdown_extensions.pymdownx.arithmatex] +generic = true +# +[project.markdown_extensions.pymdownx.betterem] +smart_enable = "all" +# +[project.markdown_extensions.pymdownx.blocks.caption] +# +[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] +anchor_linenums = true +# +[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] +custom_fences = [ + { name = "mermaid", class = "mermaid", format = "pymdownx.superfences.fence_code_format" } +] +# +[project.markdown_extensions.pymdownx.tabbed] +alternate_style = true +# +[project.markdown_extensions.pymdownx.tabbed.slugify] +object = "pymdownx.slugs.slugify" +kwds = { case = "lower" } +# +[project.markdown_extensions.pymdownx.tasklist] +custom_checkbox = true +# +[project.markdown_extensions.pymdownx.tilde]