Migrate to KaTeX

This commit is contained in:
Indigo5684
2025-09-30 13:19:34 -05:00
parent e3b95ba3b3
commit 6ed3c08d70
27 changed files with 369 additions and 391 deletions

10
docs/javascripts/katex.js Normal file
View File

@@ -0,0 +1,10 @@
document$.subscribe(({ body }) => {
renderMathInElement(body, {
delimiters: [
{ left: "$$", right: "$$", display: true },
{ left: "$", right: "$", display: false },
{ left: "\\(", right: "\\)", display: false },
{ left: "\\[", right: "\\]", display: true }
],
})
})