Skip to content

Commit b27f147

Browse files
authored
Merge pull request #1684 from hackmdio/feature/support-mhchem-mathjax
Add TeX mhchem extensions for MathJax
2 parents 599fd41 + e9293b0 commit b27f147

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

public/js/mathjax-config-extra.js

+3
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@ window.MathJax = {
44
tex2jax: {
55
inlineMath: [['$', '$'], ['\\(', '\\)']],
66
processEscapes: true
7+
},
8+
TeX: {
9+
extensions: ['mhchem.js']
710
}
811
}

0 commit comments

Comments
 (0)