From 831e570f16d8abc29fe34c50a8ec0bec4406475c Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Mon, 30 Mar 2020 17:59:14 +0200 Subject: Fix mermaid scaling for flowchart --- layouts/shortcodes/mermaid.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'layouts/shortcodes/mermaid.html') diff --git a/layouts/shortcodes/mermaid.html b/layouts/shortcodes/mermaid.html index 1f3f18f..9a9436f 100644 --- a/layouts/shortcodes/mermaid.html +++ b/layouts/shortcodes/mermaid.html @@ -1,6 +1,11 @@ {{ if not (.Page.Scratch.Get "mermaid") }} + {{ .Page.Scratch.Set "mermaid" true }} {{ end }} -- cgit v1.2.3