layouts: render fenced mermaid code blocks
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
<pre class="mermaid">
|
||||||
|
{{- .Inner | safeHTML -}}
|
||||||
|
</pre>
|
||||||
|
{{ .Page.Store.Set "hasMermaid" true }}
|
||||||
Reference in New Issue
Block a user