From b4307e276b04aa270f213c6c932a666e486dd1ad Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 13 Nov 2025 00:51:09 +0100 Subject: Add mermaid support for rendering graphs --- layouts/_markup/render-codeblock-mermaid.html | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 layouts/_markup/render-codeblock-mermaid.html (limited to 'layouts/_markup/render-codeblock-mermaid.html') 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 @@ +
+  {{ .Inner | htmlEscape | safeHTML }}
+
+{{ .Page.Store.Set "hasMermaid" true }} -- cgit v1.2.3