diff --git a/layouts/shortcodes/admonition.html b/layouts/shortcodes/admonition.html index edab8577..b46a9593 100644 --- a/layouts/shortcodes/admonition.html +++ b/layouts/shortcodes/admonition.html @@ -18,7 +18,7 @@ {{- $type := .Get "type" | default "note" -}}
- {{ .Get "title" | markdownify | default (T $type) }} + {{ .Get "title" | .Page.RenderString | default (T $type) }}
@@ -30,7 +30,7 @@ {{- $type := .Get 0 | default "note" -}}
- {{ .Get 1 | markdownify | default (T $type) }} + {{ .Get 1 | .Page.RenderString | default (T $type) }}
diff --git a/layouts/shortcodes/details.html b/layouts/shortcodes/details.html index bdca171b..a08ec358 100644 --- a/layouts/shortcodes/details.html +++ b/layouts/shortcodes/details.html @@ -1,4 +1,4 @@
- {{ .Get "summary" | default (.Get 0) | markdownify }} - {{ .Inner | markdownify }} + {{ .Get "summary" | default (.Get 0) | .Page.RenderString }} + {{ .Inner | .Page.RenderString }}
\ No newline at end of file