summaryrefslogtreecommitdiff
path: root/layouts/partials/math.html
diff options
context:
space:
mode:
authorFrancesco <tomaselli.fr@gmail.com>2024-04-22 13:19:56 +0200
committerFrancesco <tomaselli.fr@gmail.com>2024-04-22 13:19:56 +0200
commit7b4b78ee8458b16a6167170bf7405d7bf911cfbc (patch)
tree96e756a5e36793bf50d26759e58c0467cc81e096 /layouts/partials/math.html
parentfe32c5cc878b8f2608cb58057b3c0cab49488a2f (diff)
Initial
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