Skip to content

Commit 30ea541

Browse files
0xC000005claude
andcommitted
Fix KaTeX math rendering: use correct arithmatex delimiters
arithmatex generic mode outputs \(...\) and \[...\], not $...$ and $$...$$ Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2928eb1 commit 30ea541

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/javascripts/katex.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
document$.subscribe(({ body }) => {
22
renderMathInElement(body, {
33
delimiters: [
4-
{ left: "$$", right: "$$", display: true },
5-
{ left: "$", right: "$", display: false },
4+
{ left: "\\(", right: "\\)", display: false },
5+
{ left: "\\[", right: "\\]", display: true },
66
],
77
});
88
});

0 commit comments

Comments
 (0)