Migrate to KaTeX

This commit is contained in:
Nathan Nguyen
2025-02-07 21:38:28 -06:00
parent 41af035e50
commit c7c46c56ee
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 }
],
})
})