Skip to content

Commit

Permalink
mathjax.js 404 but render is ok, not solved yet
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanWonghere committed Jul 15, 2024
1 parent f3cbe65 commit 79efbe5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/javascripts/mathjax.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
window.MathJax = {
tex: {
inlineMath: [["\\(", "\\)"]],
displayMath: [["\\[", "\\]"]],
processEscapes: true,
processEnvironments: true
},
options: {
ignoreHtmlClass: ".*|",
processHtmlClass: "arithmatex"
}
};

document$.subscribe(() => {
MathJax.startup.output.clearCache()
MathJax.typesetClear()
MathJax.texReset()
MathJax.typesetPromise()
})

0 comments on commit 79efbe5

Please sign in to comment.