Files
hugo/layouts/_default/_markup/render-codeblock-mermaid.html
T
JB eddd25ff46 Mermaid: reflect latest docs specifications
MermaidJS now specifies to write chart's markdown within a `pre` HTML tag to improve semantics.
2023-02-27 11:35:33 +01:00

5 lines
96 B
HTML

<pre class="mermaid">
{{- .Inner | safeHTML }}
</pre>
{{ .Page.Store.Set "hasMermaid" true }}