fix: avoid to apply css class katex twice (#357)
parent
e1edb90407
commit
9d61f9ddf9
|
@ -10,7 +10,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<!-- prettier-ignore-end -->
|
<!-- prettier-ignore-end -->
|
||||||
|
|
||||||
<span class="gdoc-katex 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") "\\]" "\\)" }}
|
||||||
|
|
Loading…
Reference in New Issue