docmachine-containers/docs.extra/javascript.extra/mathjax.js

19 lines
303 B
JavaScript
Raw Permalink Normal View History

2022-11-18 15:13:28 +00:00
window.MathJax = {
tex: {
inlineMath: [["\\(", "\\)"]],
displayMath: [["\\[", "\\]"]],
processEscapes: true,
processEnvironments: true
},
options: {
ignoreHtmlClass: ".*|",
processHtmlClass: "arithmatex"
}
};
document$.subscribe(() => {
MathJax.typesetPromise()
})