Well, that was ridiculously easy, and it Just Works[tm].

This commit is contained in:
simon 2016-08-21 10:43:51 +01:00
parent 0d9b8f606e
commit 8c6a3358bc
5 changed files with 28 additions and 22 deletions

View file

@ -1,4 +1,9 @@
{% extends "templates/base.html" %}
{% block extra-headers %}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.css">
<script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script>
{% endblock %}
{% block content %}
<div id="content" class="edit">
<form action="{{servlet-context}}/edit" method="POST">
@ -15,4 +20,7 @@
</p>
</form>
</div>
<script>
var simplemde = new SimpleMDE();
</script>
{% endblock %}