summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2020-06-01 17:22:00 +0200
committerHarald Eilertsen <haraldei@anduin.net>2020-06-01 17:22:00 +0200
commitb472669a401ad420746a5a7d815454457a103054 (patch)
tree686c0f9f784a6a134b2ac10d0ccc9378f29c2805 /templates
parent2ee7d82bc9f4c10317a0fb1c022d741f87255160 (diff)
downloadrabalderz-b472669a401ad420746a5a7d815454457a103054.tar.gz
rabalderz-b472669a401ad420746a5a7d815454457a103054.tar.bz2
rabalderz-b472669a401ad420746a5a7d815454457a103054.zip
Render figure captions as markdown.
Diffstat (limited to 'templates')
-rw-r--r--templates/shortcodes/figure.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/shortcodes/figure.html b/templates/shortcodes/figure.html
index f21dcce..5a83112 100644
--- a/templates/shortcodes/figure.html
+++ b/templates/shortcodes/figure.html
@@ -1,6 +1,6 @@
<div class="figure">
<img src="/{{ page.path | safe }}{{ img }}" {% if alt %}alt="[{{ alt }}]"{% endif %}>
<div class="caption">
- {{ body }}
+ {{ body | markdown | safe}}
</div>
</div>