4990b2f8eb
- 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
19 lines
488 B
JavaScript
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;
|
|
}
|
|
};
|