summaryrefslogtreecommitdiff
path: root/layouts/partials/math.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/math.html')
-rw-r--r--layouts/partials/math.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/partials/math.html b/layouts/partials/math.html
new file mode 100644
index 0000000..59a0b2d
--- /dev/null
+++ b/layouts/partials/math.html
@@ -0,0 +1,9 @@
+<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
+<script>
+ MathJax = {
+ tex: {
+ displayMath: [['\\[', '\\]'], ['$$', '$$']],
+ inlineMath: [['\\[', '\\]'], ['$', '$']]
+ }
+ };
+</script> \ No newline at end of file