diff --git a/layouts/shortcodes/katex.html b/layouts/shortcodes/katex.html index e6b7564..b255cb8 100644 --- a/layouts/shortcodes/katex.html +++ b/layouts/shortcodes/katex.html @@ -7,7 +7,7 @@ {{- end -}} - {{- cond (in .Params "display") "\\[" "\\(" -}} + {{ cond (in .Params "display") "\\[" "\\(" -}} {{- trim .Inner "\n" -}} - {{- cond (in .Params "display") "\\]" "\\)" -}} + {{- cond (in .Params "display") "\\]" "\\)" }}