mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-25 06:10:40 +00:00
fix: avoid to apply css class katex twice (#357)
This commit is contained in:
parent
e1edb90407
commit
9d61f9ddf9
@ -10,7 +10,7 @@
|
||||
{{ 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") "\\[" "\\(" -}}
|
||||
{{- trim .Inner "\n" -}}
|
||||
{{- cond (in .Params "display") "\\]" "\\)" }}
|
||||
|
Loading…
Reference in New Issue
Block a user