Skip to content

Commit

Permalink
Merge pull request #1684 from hackmdio/feature/support-mhchem-mathjax
Browse files Browse the repository at this point in the history
Add TeX mhchem extensions for MathJax
  • Loading branch information
a60814billy committed May 25, 2021
2 parents 599fd41 + e9293b0 commit b27f147
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions public/js/mathjax-config-extra.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ window.MathJax = {
tex2jax: {
inlineMath: [['$', '$'], ['\\(', '\\)']],
processEscapes: true
},
TeX: {
extensions: ['mhchem.js']
}
}

0 comments on commit b27f147

Please sign in to comment.