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