aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/mathjax.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/mathjax.html')
-rw-r--r--_includes/mathjax.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/_includes/mathjax.html b/_includes/mathjax.html
new file mode 100644
index 0000000..e01e380
--- /dev/null
+++ b/_includes/mathjax.html
@@ -0,0 +1,4 @@
+{% if page.mathjax %}
+ <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
+ <script type="text/javascript" id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
+{% endif %}