mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 23:38:53 +00:00
eddd25ff46
MermaidJS now specifies to write chart's markdown within a `pre` HTML tag to improve semantics.
5 lines
96 B
HTML
5 lines
96 B
HTML
<pre class="mermaid">
|
|
{{- .Inner | safeHTML }}
|
|
</pre>
|
|
{{ .Page.Store.Set "hasMermaid" true }}
|