Stackedit/public/res/libs/mathjax_config.js

35 lines
893 B
JavaScript
Raw Normal View History

2013-09-16 23:14:17 +00:00
MathJax.Hub.Config({
2014-04-27 20:10:30 +00:00
skipStartupTypeset: true,
2013-09-16 23:14:17 +00:00
"HTML-CSS": {
preferredFont: "TeX",
availableFonts: [
"TeX"
],
linebreaks: {
automatic: true
},
EqnChunk: 10,
imageFont: null
},
tex2jax: <%= tex2jax || '{ inlineMath: [["$","$"],["\\\\\\\\(","\\\\\\\\)"]], displayMath: [["$$","$$"],["\\\\[","\\\\]"]], processEscapes: true }' %>,
TeX: $.extend({
noUndefined: {
attributes: {
mathcolor: "red",
mathbackground: "#FFEEEE",
mathsize: "90%"
}
},
Safe: {
allow: {
URLs: "safe",
classes: "safe",
cssIDs: "safe",
styles: "safe",
fontsize: "all"
}
}
}, <%= tex %>),
messageStyle: "none"
});