28f830730e
Appears the default changed in 3.x https://github.com/mathjax/MathJax/issues/2532 https://forums.ankiweb.net/t/double-backslashes-in-text-of-notes-are-turned-into-single-backslashes-on-display/9048
29 lines
659 B
JavaScript
29 lines
659 B
JavaScript
window.MathJax = {
|
|
tex: {
|
|
displayMath: [["\\[", "\\]"]],
|
|
processRefs: false,
|
|
processEnvironments: false,
|
|
processEscapes: false,
|
|
packages: {
|
|
"[+]": ["noerrors", "mhchem"],
|
|
},
|
|
},
|
|
startup: {
|
|
typeset: false,
|
|
pageReady: () => {
|
|
return MathJax.startup.defaultPageReady();
|
|
},
|
|
},
|
|
options: {
|
|
renderActions: {
|
|
addMenu: [],
|
|
checkLoading: [],
|
|
},
|
|
ignoreHtmlClass: "tex2jax_ignore",
|
|
processHtmlClass: "tex2jax_process",
|
|
},
|
|
loader: {
|
|
load: ["[tex]/noerrors", "[tex]/mhchem"],
|
|
},
|
|
};
|