aboutsummaryrefslogtreecommitdiff
path: root/layouts/shortcodes/katex.html
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-08-23 13:22:11 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-08-23 13:23:06 +0200
commit8f1cdb6aee42d687d9f0574409b846b747e2960e (patch)
treeb2ef51b9da24e7e8a15f51cd8c6deff2169346f6 /layouts/shortcodes/katex.html
parent185e52d2f6015671d8c7e8393ce26c6627f0553e (diff)
#61, Remove need for $$ in katex shortcode
Diffstat (limited to 'layouts/shortcodes/katex.html')
-rw-r--r--layouts/shortcodes/katex.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/shortcodes/katex.html b/layouts/shortcodes/katex.html
index 5807c50..8f440ad 100644
--- a/layouts/shortcodes/katex.html
+++ b/layouts/shortcodes/katex.html
@@ -7,6 +7,6 @@
{{ end }}
<p class="katex{{ with .Get "class" }} {{ . }}{{ end }}">
- {{ .Inner }}
+ $$ {{ .Inner }} $$
</p>