codimd/public/js/mathjax-config-extra.js
Max Wu e9293b0c30 feat: add TeX mhchem extensions for MathJax
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2021-05-13 23:45:12 +08:00

12 lines
205 B
JavaScript

window.MathJax = {
messageStyle: 'none',
skipStartupTypeset: true,
tex2jax: {
inlineMath: [['$', '$'], ['\\(', '\\)']],
processEscapes: true
},
TeX: {
extensions: ['mhchem.js']
}
}