anki/qt/aqt/data/web/js/mathjax.js
2020-11-15 20:22:28 +10:00

23 lines
459 B
JavaScript

window.MathJax = {
tex: {
displayMath: [["\\[", "\\]"]],
processRefs: false,
processEnvironments: false,
packages: ['base', 'ams', 'noerrors', 'noundefined', 'mhchem']
},
startup: {
typeset: false
},
options: {
renderActions: {
addMenu: [],
checkLoading: []
},
ignoreHtmlClass: 'tex2jax_ignore',
processHtmlClass: 'tex2jax_process'
},
loader: {
load: ['[tex]/noerrors', '[tex]/mhchem']
}
};