use pre tag instead of p for mermaid shortcode

uci-hugo-doc
Robert Kaussow 2020-06-02 20:17:05 +02:00
parent bb0cfc464f
commit 1037da5062
1 changed files with 2 additions and 2 deletions

View File

@ -11,6 +11,6 @@
{{ .Page.Scratch.Set "mermaid" true }} {{ .Page.Scratch.Set "mermaid" true }}
{{ end }} {{ end }}
<p class="mermaid{{ with .Get "class" }} {{ . }}{{ end }}"> <pre class="mermaid{{ with .Get "class" }} {{ . }}{{ end }}">
{{- .Inner -}} {{- .Inner -}}
</p> </pre>