diff options
Diffstat (limited to 'layouts/_markup')
| -rw-r--r-- | layouts/_markup/render-codeblock-mermaid.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/_markup/render-codeblock-mermaid.html b/layouts/_markup/render-codeblock-mermaid.html new file mode 100644 index 0000000..42e8abf --- /dev/null +++ b/layouts/_markup/render-codeblock-mermaid.html @@ -0,0 +1,4 @@ +<pre class="mermaid"> + {{ .Inner | htmlEscape | safeHTML }} +</pre> +{{ .Page.Store.Set "hasMermaid" true }} |
