#583, fix katex and mermaid examples with raw html
This commit is contained in:
@@ -0,0 +1 @@
|
||||
{{- .Inner -}}
|
||||
@@ -7,7 +7,7 @@
|
||||
{{- end -}}
|
||||
|
||||
<span {{- with .Get "class" }} class="{{ . }}"{{ end }}>
|
||||
{{ cond (in .Params "display") "\\[" "\\(" -}}
|
||||
{{ with .Get "display" }}\[{{else}}\({{end}}
|
||||
{{- trim .Inner "\n" -}}
|
||||
{{- cond (in .Params "display") "\\]" "\\)" }}
|
||||
{{ with .Get "display" }}\]{{else}}\){{end}}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user