Skip to content
Snippets Groups Projects

Adds mathjax

Merged kbistreck requested to merge feature/addMathjax into develop
3 files
+ 35
12
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 19
0
window.MathJax = {
tex: {
inlineMath: [["$", "$"]],
displayMath: [["$$", "$$"]],
processEscapes: true,
processEnvironments: true
},
options: {
ignoreHtmlClass: ".*",
processHtmlClass: "mathjax-render"
}
};
document$.subscribe(() => {
MathJax.startup.output.clearCache()
MathJax.typesetClear()
MathJax.texReset()
MathJax.typesetPromise()
})
\ No newline at end of file
Loading