aboutsummaryrefslogtreecommitdiff
path: root/layouts/shortcodes/math.html
diff options
context:
space:
mode:
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 }}