Fix the MathJax config was lost in jekyll-compress-html

This commit is contained in:
Cotes Chung 2021-04-02 21:14:43 +08:00
parent dbe4c3d42f
commit bff97df3b5
1 changed files with 3 additions and 3 deletions

View File

@ -24,14 +24,14 @@
{% if page.math %}
<!-- MathJax -->
<script>
// see: <https://docs.mathjax.org/en/latest/options/input/tex.html#tex-options>
/* see: <https://docs.mathjax.org/en/latest/options/input/tex.html#tex-options> */
MathJax = {
tex: {
inlineMath: [ // start/end delimiter pairs for in-line math
inlineMath: [ /* start/end delimiter pairs for in-line math */
['$','$'],
['\\(','\\)']
],
displayMath: [ // start/end delimiter pairs for display math
displayMath: [ /* start/end delimiter pairs for display math */
['$$', '$$'],
['\\[', '\\]']
]