use pre tag instead of p for mermaid shortcode
parent
bb0cfc464f
commit
1037da5062
|
@ -11,6 +11,6 @@
|
|||
{{ .Page.Scratch.Set "mermaid" true }}
|
||||
{{ end }}
|
||||
|
||||
<p class="mermaid{{ with .Get "class" }} {{ . }}{{ end }}">
|
||||
<pre class="mermaid{{ with .Get "class" }} {{ . }}{{ end }}">
|
||||
{{- .Inner -}}
|
||||
</p>
|
||||
</pre>
|
||||
|
|
Loading…
Reference in New Issue