{#- Official injection point for extra
content (the theme's own file is empty, kept only as a comment pointing here). -#} {#- The theme only auto-includes its pygments stylesheet when the legacy `codehilite` extension is enabled; this project uses pymdownx.highlight instead, so the include has to be triggered manually. -#} {% include "templates/external/pygments.html" %} {#- pymdownx.superfences emits `` for ```mermaid fences,
but the theme (unlike Material) doesn't bundle mermaid.js itself.
Navigation here is plain page loads (no SPA instant-navigation), so a
single run on load is enough — re-run only on theme toggle, since that
swaps the `.dark` class without a reload and diagrams must repaint to
match, same as the pygments stylesheet swap. -#}