diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2020-06-01 17:22:00 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2020-06-01 17:22:00 +0200 |
commit | b472669a401ad420746a5a7d815454457a103054 (patch) | |
tree | 686c0f9f784a6a134b2ac10d0ccc9378f29c2805 | |
parent | 2ee7d82bc9f4c10317a0fb1c022d741f87255160 (diff) | |
download | rabalderz-b472669a401ad420746a5a7d815454457a103054.tar.gz rabalderz-b472669a401ad420746a5a7d815454457a103054.tar.bz2 rabalderz-b472669a401ad420746a5a7d815454457a103054.zip |
Render figure captions as markdown.
-rw-r--r-- | templates/shortcodes/figure.html | 2 |
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> |