mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-12 08:24:52 -04:00
Mermaid: reflect latest docs specifications
MermaidJS now specifies to write chart's markdown within a `pre` HTML tag to improve semantics.
This commit is contained in:
parent
b2a23b6f5d
commit
eddd25ff46
@ -1,4 +1,4 @@
|
|||||||
<div class="mermaid">
|
<pre class="mermaid">
|
||||||
{{- .Inner | safeHTML }}
|
{{- .Inner | safeHTML }}
|
||||||
</div>
|
</pre>
|
||||||
{{ .Page.Store.Set "hasMermaid" true }}
|
{{ .Page.Store.Set "hasMermaid" true }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user