From a9969735db98ec286063c5772e53ad6411997c6b Mon Sep 17 00:00:00 2001 From: Heitor Pascoal de Bittencourt Date: Mon, 31 Jul 2023 13:27:33 -0300 Subject: [PATCH] Allow markdown in caption of figures --- templates/shortcodes/figure.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/shortcodes/figure.html b/templates/shortcodes/figure.html index b9de271..e014068 100644 --- a/templates/shortcodes/figure.html +++ b/templates/shortcodes/figure.html @@ -2,7 +2,7 @@
{% if caption %} -
{{ caption }}
+
{{ caption | markdown() | safe }}
{% endif %}
{% endif %}