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) -}}