fix: fix extra space after katex shortcode (#406)
parent
2607199889
commit
f576e4ca0d
|
@ -13,5 +13,6 @@
|
||||||
<span class="gdoc-katex {{ with .Get "class" }}{{ . }}{{ end }}">
|
<span class="gdoc-katex {{ with .Get "class" }}{{ . }}{{ end }}">
|
||||||
{{ cond (in .Params "display") "\\[" "\\(" -}}
|
{{ cond (in .Params "display") "\\[" "\\(" -}}
|
||||||
{{- trim .Inner "\n" -}}
|
{{- trim .Inner "\n" -}}
|
||||||
{{- cond (in .Params "display") "\\]" "\\)" }}
|
{{- cond (in .Params "display") "\\]" "\\)" -}}
|
||||||
</span>
|
</span>
|
||||||
|
{{- /* Drop trailing newlines */ -}}
|
||||||
|
|
Loading…
Reference in New Issue