Migrate mistune to markdown
This commit is contained in:
parent
412945626b
commit
77aaae6735
46 changed files with 5112 additions and 420 deletions
|
@ -1 +1 @@
|
|||
{{ comment.body|markdown('comment', MATH_ENGINE)|reference|str|safe }}
|
||||
{{ comment.body|markdown|reference|str|safe }}
|
|
@ -13,6 +13,6 @@
|
|||
{% endif %}
|
||||
{% endwith %}
|
||||
<div class='blog-description content-description'>
|
||||
{{ comment.body |markdown("comment", MATH_ENGINE)|reference|str|safe }}
|
||||
{{ comment.body |markdown|reference|str|safe }}
|
||||
</div>
|
||||
</div>
|
|
@ -93,7 +93,7 @@
|
|||
</div>
|
||||
<div class="content content-description">
|
||||
<div class="comment-body"{% if node.score <= vote_hide_threshold %} style="display:none"{% endif %}>
|
||||
{{ node.body|markdown('comment', MATH_ENGINE, True)|reference|str|safe }}
|
||||
{{ node.body|markdown|reference|str|safe }}
|
||||
</div>
|
||||
{% if node.score <= vote_hide_threshold %}
|
||||
<div class="comment-body bad-comment-body">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{ preview_data|markdown('comment', MATH_ENGINE)|reference|str|safe }}
|
||||
{{ preview_data|markdown|reference|str|safe }}
|
||||
{% if REQUIRE_JAX %}
|
||||
<div data-config="{{ static('mathjax_config.js') }}" class="require-mathjax-support"></div>
|
||||
{% endif %}
|
|
@ -1,3 +1,3 @@
|
|||
{% with node=revision.field_dict %}
|
||||
<div class="comment-body">{{ node.body|markdown('comment', MATH_ENGINE)|reference|str|safe }}</div>
|
||||
<div class="comment-body">{{ node.body|markdown|reference|str|safe }}</div>
|
||||
{% endwith %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue