Commit 66504eea authored by sbalev's avatar sbalev

Can write markdown it figure caption

parent ee317956
<figure><img src="{{ include.src }}" alt="{{ include.alt }}"/>{% if include.caption %}<figcaption>{{ include.caption }}</figcaption>{% endif %}</figure> <figure><img src="{{ include.src }}" alt="{{ include.alt }}"/>{% if include.caption %}<figcaption>{{ include.caption | markdownify }}</figcaption>{% endif %}</figure>
\ No newline at end of file \ No newline at end of file
...@@ -2,5 +2,5 @@ figure ...@@ -2,5 +2,5 @@ figure
img(src="{{ include.src }}" alt="{{ include.alt }}") img(src="{{ include.src }}" alt="{{ include.alt }}")
| {% if include.caption %} | {% if include.caption %}
figcaption figcaption
| {{ include.caption }} | {{ include.caption | markdownify }}
| {% endif %} | {% endif %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment