summaryrefslogtreecommitdiff
path: root/themes/cranky/layouts/partials
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-02-15 21:46:38 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2024-02-15 21:46:38 -0500
commit29d48c9082e2f74a89f0f48745fff6479425fbb7 (patch)
treeb71ff7384873abcde20dd9baf1eece13d63d26dc /themes/cranky/layouts/partials
parent4c380d5291e49c687b2ce90974b58b975d131c3b (diff)
Update mathjax and continue Guitar Hero
Diffstat (limited to 'themes/cranky/layouts/partials')
-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>