diff options
author | Benjamin Elbers <elbersb@gmail.com> | 2020-10-03 17:09:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-03 17:09:15 +0300 |
commit | 51db57564a362a40e817dc1606f8195de6ca5acd (patch) | |
tree | 48bff556e4f7c1d748babcf259595f608544f032 | |
parent | 5a6d5135a19c60ca35cb1ae99ee3742f29fb23c7 (diff) |
fix [shortcodes]: katex
avoid printing extra space after inline expressions
-rw-r--r-- | layouts/shortcodes/katex.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/shortcodes/katex.html b/layouts/shortcodes/katex.html index 3a45bea..1b92e08 100644 --- a/layouts/shortcodes/katex.html +++ b/layouts/shortcodes/katex.html @@ -2,4 +2,4 @@ {{- print ( cond $displayMode "\\[" "\\(" ) }} {{ .Inner }} -{{ print ( cond $displayMode "\\]" "\\)" ) }} +{{- print ( cond $displayMode "\\]" "\\)" ) -}} |