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