Add 'minimd', minimal formatting

This commit is contained in:
David Hoppenbrouwers
2022-10-08 00:31:36 +02:00
parent 2dcf9c5cf7
commit 0d0135b5be
3 changed files with 22 additions and 7 deletions

View File

@@ -5,7 +5,7 @@
{% macro render_comment_pre(comment) %}
<div class=comment>
{{ author(comment.author, comment.create_time, comment.modify_time) }}
<p>{{ comment.text }}</p>
<p>{{ minimd(comment.text) | safe }}</p>
{% endmacro %}
{% macro render_comment_post(comment) %}