aboutsummaryrefslogtreecommitdiff
path: root/layouts/shortcodes/math.html
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@rgdd.se>2024-05-04 16:45:27 +0200
committerRasmus Dahlberg <rasmus@rgdd.se>2024-05-04 16:45:27 +0200
commit444d63c7ab0426dfbb8648b31e7b95e875502e81 (patch)
treea1def2646e08a6213c9f4503fa2594e137ecddb2 /layouts/shortcodes/math.html
parent5e46ca558ce13446c092dd9ee6a817837dd3a309 (diff)
Remove unused shortcode
Diffstat (limited to 'layouts/shortcodes/math.html')
-rw-r--r--layouts/shortcodes/math.html8
1 files changed, 0 insertions, 8 deletions
diff --git a/layouts/shortcodes/math.html b/layouts/shortcodes/math.html
deleted file mode 100644
index a429888..0000000
--- a/layouts/shortcodes/math.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{{ if or (hasPrefix .Inner "\n") (hasPrefix .Inner "<p>") }}
- $$
- {{ $inner := trim (.Inner | htmlUnescape) "$\n " }}
- {{- replace $inner "\n" " " -}}
- $$
-{{ else }}
- ${{- trim (.Inner | htmlUnescape) "$\n " -}}$
-{{ end }}