hugo-academic-mirror/modules/blox-bootstrap/assets/js/mathjax-config.js

27 lines
653 B
JavaScript
Raw Normal View History

// MathJax Configuration
//
// v2 to v3 upgrade notes:
// - The CommonHTML.linebreaks option is not yet implemented (but may be in a future release)
// - The TeX.noUndefined.attributes option is not yet implemented (but may be in a future release)
window.MathJax = {
2022-08-21 10:55:47 +01:00
options: {
// Don't render math in mindmaps as Markmap has its own math renderer.
ignoreHtmlClass: 'markmap',
},
tex: {
2021-01-08 23:29:45 +00:00
inlineMath: [
['$', '$'],
['\\(', '\\)'],
],
displayMath: [
['$$', '$$'],
['\\[', '\\]'],
],
processEscapes: false,
2021-01-08 23:29:45 +00:00
packages: {'[+]': ['noerrors']},
},
loader: {
2021-01-08 23:29:45 +00:00
load: ['[tex]/noerrors'],
},
};