anki/qt/aqt/data/web/js/mathjax.js

35 lines
612 B
JavaScript
Raw Normal View History

window.MathJax = {
tex: {
displayMath: [["\\[", "\\]"]],
processRefs: false,
processEnvironments: false,
packages: {
'[+]': [
'noerrors',
'mhchem',
],
}
},
startup: {
typeset: false,
pageReady: () => {
console.log('page is ready');
return MathJax.startup.defaultPageReady();
},
},
options: {
renderActions: {
addMenu: [],
checkLoading: []
},
ignoreHtmlClass: 'tex2jax_ignore',
processHtmlClass: 'tex2jax_process',
},
loader: {
2020-11-15 13:58:51 +01:00
load: [
'[tex]/noerrors',
'[tex]/mhchem',
]
}
};