Skip to content

Commit c6d1b3b

Browse files
committed
Make LaTeX actually work
1 parent 52f8cb7 commit c6d1b3b

File tree

5 files changed

+122
-12
lines changed

5 files changed

+122
-12
lines changed

docs/js/mathjax.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
window.MathJax = {
2+
tex: {
3+
inlineMath: [["\\(", "\\)"]],
4+
displayMath: [["\\[", "\\]"]],
5+
processEscapes: true,
6+
processEnvironments: true
7+
},
8+
options: {
9+
ignoreHtmlClass: ".*|",
10+
processHtmlClass: "arithmatex"
11+
}
12+
};
13+
14+
document$.subscribe(() => {
15+
MathJax.typesetPromise()
16+
})

0 commit comments

Comments
 (0)