aboutsummaryrefslogtreecommitdiff
path: root/app/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'app/templates/base.html')
-rw-r--r--app/templates/base.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/templates/base.html b/app/templates/base.html
index 10f8abf..4232908 100644
--- a/app/templates/base.html
+++ b/app/templates/base.html
@@ -125,6 +125,13 @@
<script src="/static/jquery.min.js"></script>
<script src="/static/popper.min.js"></script>
<script src="/static/bootstrap.min.js"></script>
+ <script src="/static/easymde.min.js"></script>
+ <link rel="stylesheet" type="text/css" href="/static/easymde.min.css">
+ <script>
+ $("textarea.markdown").each(function() {
+ new EasyMDE({ element: this, hideIcons: ["image"] });
+ })
+ </script>
{% block scriptextra %}{% endblock %}
</body>
</html>