Skip to content

Commit

Permalink
Fix the MathJax config was lost in jekyll-compress-html
Browse files Browse the repository at this point in the history
  • Loading branch information
cotes2020 committed Apr 2, 2021
1 parent 41741dc commit 51930b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _includes/js-selector.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
['$$', '$$'],
['\\[', '\\]']
]
Expand Down

0 comments on commit 51930b9

Please sign in to comment.