From d1fd05e56eaf1ac654fa41aa9158d80913048eea Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Fri, 10 Nov 2023 10:01:59 -0800 Subject: [PATCH] Switch from markdownify to Page.Renderstring Just for consistency --- layouts/shortcodes/codecaption.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/codecaption.html b/layouts/shortcodes/codecaption.html index aa655c0..8249d2a 100644 --- a/layouts/shortcodes/codecaption.html +++ b/layouts/shortcodes/codecaption.html @@ -12,6 +12,6 @@ Code snippet {{ $codeIndex }}{{with .Get "lang"}} ({{ . }}){{ end -}} : -{{ .Inner | markdownify | safeHTML }} +{{ .Inner | .Page.RenderString | safeHTML }} {{- .Page.Scratch.Set "codeIndex" (add 1 $codeIndex) -}}