gmgauthier.com/themes/blackburn/layouts/partials/footer_mathjax.html

4 lines
292 B
HTML
Raw Normal View History

2021-03-30 20:50:34 +00:00
{{ if and (not .Params.disable_mathjax) (or (in (string .Content) "\\") (in (string .Content) "$")) }}
<script src="{{ "/js/math-code.js" | relURL }}"></script>
<script async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML"></script>
{{ end }}