mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-22 04:40:40 +00:00
use pre tag instead of p for mermaid shortcode
This commit is contained in:
parent
bb0cfc464f
commit
1037da5062
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user