Migrate mistune to markdown

This commit is contained in:
cuom1999 2022-10-24 23:59:04 -05:00
parent 412945626b
commit 77aaae6735
46 changed files with 5112 additions and 420 deletions

View file

@ -36,7 +36,7 @@
</div>
<div class="body content-description">
{% cache 86400 'post_content' post.id MATH_ENGINE %}
{{ post.content|markdown('blog', MATH_ENGINE)|reference|str|safe}}
{{ post.content|markdown|reference|str|safe}}
{% endcache %}
</div>
</div>

View file

@ -38,7 +38,7 @@
</h2>
<div class="summary content-description blog-description">
{% cache 86400 'post_summary' post.id %}
{{ post.summary|default(post.content, true)|markdown('blog', 'svg', lazy_load=True)|reference|str|safe }}
{{ post.summary|default(post.content, true)|markdown|reference|str|safe }}
{% endcache %}
</div>
</section>

View file

@ -1 +1 @@
{{ preview_data|markdown('blog', MATH_ENGINE)|reference|str|safe }}
{{ preview_data|markdown|reference|str|safe }}