Merge pull request #1684 from hackmdio/feature/support-mhchem-mathjax

Add TeX mhchem extensions for MathJax
This commit is contained in:
Raccoon 2021-05-25 14:39:32 +08:00 committed by GitHub
commit b27f1474bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,5 +4,8 @@ window.MathJax = {
tex2jax: { tex2jax: {
inlineMath: [['$', '$'], ['\\(', '\\)']], inlineMath: [['$', '$'], ['\\(', '\\)']],
processEscapes: true processEscapes: true
},
TeX: {
extensions: ['mhchem.js']
} }
} }