Skip to content

Commit 02a69a0

Browse files
Enable Mermaid diagram rendering via superfences custom_fences
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2e51310 commit 02a69a0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

zensical.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ toggle.name = "Switch to light mode"
5959
[project.markdown_extensions.pymdownx.details]
6060

6161
[project.markdown_extensions.pymdownx.superfences]
62+
custom_fences = [
63+
{ name = "mermaid", class = "mermaid", format = "pymdownx.superfences.fence_code_format" }
64+
]
6265

6366
[project.markdown_extensions.pymdownx.tabbed]
6467
alternate_style = true

0 commit comments

Comments
 (0)