Skip to content

Commit

Permalink
Mathjax support
Browse files Browse the repository at this point in the history
  • Loading branch information
YaelDillies committed Dec 12, 2023
1 parent 6ca29c8 commit 13d24c9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/_include/mathjax.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!-- for mathjax support -->
{% if page.usemathjax %}
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
TeX: { equationNumbers: { autoNumber: "AMS" } }
});
</script>
<script type="text/javascript" async
src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
{% endif %}

0 comments on commit 13d24c9

Please sign in to comment.