From 341bad1610a9926664b43f28e7e5b853763aec11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Sat, 2 Jul 2022 14:00:51 +0200 Subject: [PATCH] mermaid: use partial for codefence formatting --- layouts/_default/_markup/render-codeblock-mermaid.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/_default/_markup/render-codeblock-mermaid.html b/layouts/_default/_markup/render-codeblock-mermaid.html index ee8fb37464..e58431185b 100644 --- a/layouts/_default/_markup/render-codeblock-mermaid.html +++ b/layouts/_default/_markup/render-codeblock-mermaid.html @@ -1,4 +1,4 @@ -
- {{- safeHTML .Inner -}} -
-{{- .Page.Store.Set "htmlHasMermaid" true }} +{{- partial "shortcodes/mermaid.html" (dict + "context" . + "content" .Inner +) }} \ No newline at end of file