19 lines
384 B
JavaScript
19 lines
384 B
JavaScript
|
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()
|
||
|
})
|