mirror of
https://github.com/ae-utbm/sith.git
synced 2024-12-23 00:01:16 +00:00
Remove to_markdown.jinja forgotten during bbcode convertion removal
This commit is contained in:
parent
4036bfd703
commit
d13b79552b
@ -1,29 +0,0 @@
|
|||||||
{% extends "core/base.jinja" %}
|
|
||||||
|
|
||||||
{% block title %}
|
|
||||||
{% trans %}To Markdown{% endtrans %}
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
<form action="" method="post" enctype="multipart/form-data">
|
|
||||||
{% csrf_token %}
|
|
||||||
<input type="radio" name="syntax" value="doku" {% if request.POST['syntax'] != "bbcode" %}checked{% endif %} >Doku</input>
|
|
||||||
<input type="radio" name="syntax" value="bbcode" {% if request.POST['syntax'] == "bbcode" %}checked{% endif %} >BBCode</input>
|
|
||||||
<textarea name="text" id="text" rows="30" cols="80">
|
|
||||||
{{- text -}}
|
|
||||||
</textarea>
|
|
||||||
<p><input type="submit" value="{% trans %}Convert{% endtrans %}" /></p>
|
|
||||||
</form>
|
|
||||||
<hr>
|
|
||||||
<h6>{% trans %}Markdown{% endtrans %}</h6>
|
|
||||||
<div style="border: 1px solid black; color: white; background: black; padding: 10px; margin: 5px;"><pre>{{- text_md -}}</pre>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
<h6>{% trans %}Render{% endtrans %}</h6>
|
|
||||||
<div style="border: 1px solid black; padding: 10px; margin: 5px;" class="page_content">
|
|
||||||
{{ text_md|markdown }}
|
|
||||||
</div>
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user