anki/web/mathjax/conf.js
Damien Elmes 4990b2f8eb mathjax tweaks
- drop support for $$ in favour of separate opening and closing tags
- add shortcuts to add mathjax
- don't highlight any clozes in blue if field contains mathjax chars
2017-09-08 19:20:37 +10:00

19 lines
488 B
JavaScript

window.MathJax = {
jax: ["input/TeX","output/CommonHTML"],
extensions: ["tex2jax.js"],
TeX: {
extensions: ["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js", "mhchem.js"]
},
tex2jax: {
displayMath: [ ["\\[","\\]"] ],
},
messageStyle: "none",
skipStartupTypeset: true,
showMathMenu: false,
AuthorInit: function () {
MathJax.Hub.processSectionDelay = 0;
MathJax.Hub.processUpdateTime = 0;
MathJax.Hub.processUpdateDelay = 0;
}
};