diff options
Diffstat (limited to 'docs/_javascript/mathjax.js')
-rw-r--r-- | docs/_javascript/mathjax.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/_javascript/mathjax.js b/docs/_javascript/mathjax.js new file mode 100644 index 000000000..a80ddbff7 --- /dev/null +++ b/docs/_javascript/mathjax.js @@ -0,0 +1,16 @@ +window.MathJax = { + tex: { + inlineMath: [["\\(", "\\)"]], + displayMath: [["\\[", "\\]"]], + processEscapes: true, + processEnvironments: true + }, + options: { + ignoreHtmlClass: ".*|", + processHtmlClass: "arithmatex" + } +}; + +document$.subscribe(() => { + MathJax.typesetPromise() +})
\ No newline at end of file |