Skip to content

fix: MathJax rendering in theorem blocks#10

Merged
Navi Bot (project-navi-bot) merged 1 commit into
mainfrom
docs/site-scaffold
Mar 31, 2026
Merged

fix: MathJax rendering in theorem blocks#10
Navi Bot (project-navi-bot) merged 1 commit into
mainfrom
docs/site-scaffold

Conversation

@Fieldnote-Echo
Copy link
Copy Markdown
Member

Summary

Adds markdown attribute to all 44 <div class="theorem-block"> elements across 5 exposition pages.

Without this attribute, content inside raw HTML blocks is not processed by the arithmatex extension, so \(...\) and \[...\] delimiters are not wrapped in the arithmatex class and MathJax ignores them.

Test plan

  • uv run zensical serve — LaTeX renders inside theorem blocks on all exposition pages
  • Coincidence length page: display math equations visible
  • Sard infrastructure page: inline math in theorem statements visible

Without the markdown attribute, content inside raw HTML blocks is not
processed by the arithmatex extension, so MathJax delimiters are not
wrapped in the arithmatex class and MathJax ignores them.

Coding-Agent: claude-code
Model: claude-opus-4-6
@project-navi-bot Navi Bot (project-navi-bot) merged commit 77d98db into main Mar 31, 2026
4 checks passed
@project-navi-bot Navi Bot (project-navi-bot) deleted the docs/site-scaffold branch March 31, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants