Skip to content

Fix KaTeX parse errors in notebook math blocks#79

Open
KaynXu wants to merge 1 commit into
Visualize-ML:mainfrom
KaynXu:fix-katex-markdown-blocks
Open

Fix KaTeX parse errors in notebook math blocks#79
KaynXu wants to merge 1 commit into
Visualize-ML:mainfrom
KaynXu:fix-katex-markdown-blocks

Conversation

@KaynXu
Copy link
Copy Markdown

@KaynXu KaynXu commented May 17, 2026

Summary

  • Split single-line display math blocks into multiline $$ blocks in LA_01_01_01.ipynb and LA_01_07_03.ipynb.
  • Keeps the original formulas unchanged while avoiding KaTeX parsing later inline $...$ expressions as part of the same math block.

Verification

Temporary proof script: /tmp/verify-katex-XXXXXX.js
Notebook files parsed: 88
Risky single-line $$...$$ lines remaining: 0

Fixes #78

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.

部分 notebook 的单行 $$...$$ 公式在 VS Code/Jupyter 中触发 KaTeX parse error

1 participant