From 5f61f576b935ad89871ba1986a9af94ae5e0dd17 Mon Sep 17 00:00:00 2001 From: Pizzacus Date: Thu, 11 Jul 2019 14:21:22 +0200 Subject: [PATCH] Allow Markdown in figure captions --- layouts/shortcodes/figure.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/figure.html b/layouts/shortcodes/figure.html index 8e10b53..e3c2fe2 100644 --- a/layouts/shortcodes/figure.html +++ b/layouts/shortcodes/figure.html @@ -2,7 +2,7 @@
{{ . | plainify }} {{ if .Get "caption" }} -
{{ .Get "caption" }}
+
{{ .Get "caption" | markdownify }}
{{ end }}
{{ end }}