aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/math.html
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@rgdd.se>2024-05-04 16:44:38 +0200
committerRasmus Dahlberg <rasmus@rgdd.se>2024-05-04 16:44:38 +0200
commit5e46ca558ce13446c092dd9ee6a817837dd3a309 (patch)
tree317ca78f69b42d9c260065f6320aff129bf291ac /layouts/partials/math.html
parenta540db08b8049b367f93a423983a3cee7f8bd052 (diff)
Serve dependencies locally to get rid of trackers
Diffstat (limited to 'layouts/partials/math.html')
-rw-r--r--layouts/partials/math.html17
1 files changed, 0 insertions, 17 deletions
diff --git a/layouts/partials/math.html b/layouts/partials/math.html
deleted file mode 100644
index c45386b..0000000
--- a/layouts/partials/math.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/katex.min.css" integrity="sha512-t2ALGTyUR6g1HJiHCmSTge2yGseGofdO88Q+zOWQx/N0ikecVw0YuyOet9xZDV8+Vx0Y0n1a3f3Qx3V9CcnsKA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
-<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/katex.min.js" integrity="sha512-EKW5YvKU3hpyyOcN6jQnAxO/L8gts+YdYV6Yymtl8pk9YlYFtqJgihORuRoBXK8/cOIlappdU6Ms8KdK6yBCgA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
-<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/contrib/auto-render.min.js" integrity="sha512-iWiuBS5nt6r60fCz26Nd0Zqe0nbk1ZTIQbl3Kv7kYsX+yKMUFHzjaH2+AnM6vp2Xs+gNmaBAVWJjSmuPw76Efg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
-
-<!-- Script to enable inline math expressions -->
-<script>
- document.addEventListener("DOMContentLoaded", function() {
- renderMathInElement(document.body, {
- delimiters: [
- {left: "$$", right: "$$", display: true},
- {left: "\\[", right: "\\]", display: true},
- {left: "$", right: "$", display: false},
- {left: "\\(", right: "\\)", display: false}
- ]
- });
- });
-</script>