Migrate mistune to markdown
This commit is contained in:
parent
412945626b
commit
77aaae6735
46 changed files with 5112 additions and 420 deletions
|
@ -69,7 +69,7 @@
|
|||
|
||||
<div class="content-description">
|
||||
{% cache 3600 'contest_html' contest.id MATH_ENGINE %}
|
||||
{{ contest.description|markdown('contest', MATH_ENGINE)|reference|str|safe }}
|
||||
{{ contest.description|markdown|reference|str|safe }}
|
||||
{% endcache %}
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{ preview_data|markdown('contest', 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 %}
|
|
@ -4,4 +4,4 @@
|
|||
<hr>
|
||||
{% endif %}
|
||||
|
||||
{{ tag.description|markdown('contest_tag') }}
|
||||
{{ tag.description|markdown }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue