Skip to content

Commit 0557ab4

Browse files
committed
Enable inline math equation delimiters in mathjax script config
1 parent 7e473df commit 0557ab4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

scripts/mathjax.script

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
<script type="text/x-mathjax-config">
2+
MathJax.Hub.Config({
3+
tex2jax: {
4+
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
5+
processEscapes: true
6+
}
7+
});
8+
</script>
9+
110
<script type="text/javascript" async
211
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-MML-AM_CHTML">
312
</script>

0 commit comments

Comments
 (0)