summaryrefslogtreecommitdiff
path: root/_includes/scripts/mathjax.html
blob: 53db9e018b140e9bb80df65dd4914c0ad5f3d52b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{% if site.enable_math %}
<!-- MathJax -->
<script type="text/javascript">
  window.MathJax = {
    tex: {
      tags: 'ams'
    }
  };
</script>
<script defer type="text/javascript" id="MathJax-script" src="https://cdn.jsdelivr.net/npm/mathjax@{{ site.mathjax.version }}/es5/tex-mml-chtml.js"></script>
<script defer src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
{% endif %}