install php markdown to html, and test change in template

This commit is contained in:
Mathieu Jaumotte 2021-03-20 22:34:59 +01:00
parent 43a8373a7c
commit a302749d00

View File

@ -45,11 +45,24 @@ This view should receive those arguments:
<div class="grid-12">
<figure class="person-details">
<h2 class="chill-red">{{ 'Memo'|trans }}</h2>
<p>
<blockquote>{{ person.memo|nl2br }}</blockquote>
</p>
</figure>
{#<p><blockquote>{{ person.memo|nl2br }}</blockquote></p>#}
<div class="chill-user-quote snippet-markdown">
</div>
{% apply markdown_to_html %}
{{ person.memo }}
{% endapply %}<br>
{% apply markdown_to_html %}
## Marc est down
**michel** _ça va_
> une citation
Sit amet nisl ~~purus~~ in mollis.
{% endapply %}
</div>
{% endif %}
<div class="grid-6">