summaryrefslogtreecommitdiff
path: root/themes/cranky/layouts/partials/math.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/cranky/layouts/partials/math.html')
-rw-r--r--themes/cranky/layouts/partials/math.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/themes/cranky/layouts/partials/math.html b/themes/cranky/layouts/partials/math.html
new file mode 100644
index 0000000..91eeb88
--- /dev/null
+++ b/themes/cranky/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: [['\\[', '\\]']], // block
+ inlineMath: [['$$', '$$']] // inline
+ }
+ };
+</script>