diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2024-02-15 21:46:38 -0500 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2024-02-15 21:46:38 -0500 |
commit | 29d48c9082e2f74a89f0f48745fff6479425fbb7 (patch) | |
tree | b71ff7384873abcde20dd9baf1eece13d63d26dc /themes | |
parent | 4c380d5291e49c687b2ce90974b58b975d131c3b (diff) |
Update mathjax and continue Guitar Hero
Diffstat (limited to 'themes')
-rw-r--r-- | themes/cranky/layouts/partials/math.html | 9 |
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> |