aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/katex.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/katex.html')
-rw-r--r--layouts/partials/katex.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/partials/katex.html b/layouts/partials/katex.html
new file mode 100644
index 0000000..bc9fde0
--- /dev/null
+++ b/layouts/partials/katex.html
@@ -0,0 +1,3 @@
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css">
+<script defer src="https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.js"></script>
+<script defer src="https://cdn.jsdelivr.net/npm/katex@latest/dist/contrib/auto-render.min.js" onload="renderMathInElement(document.body);"></script> \ No newline at end of file