diff --git a/templates/markdown_editor/markdown_editor.html b/templates/markdown_editor/markdown_editor.html index 04418e4..c56a6c5 100644 --- a/templates/markdown_editor/markdown_editor.html +++ b/templates/markdown_editor/markdown_editor.html @@ -2,20 +2,19 @@ {% block media %} {% endblock %} @@ -49,13 +51,15 @@ preview: $(this).val() }, success: function(data) { - $('#display').html(data) + $('#display').html(data); + MathJax.typeset(); }, error: function(error) { alert(error); console.log(error.message) } }) + }); }); @@ -90,45 +94,50 @@ {% block title_row %} {% endblock %} -{% block body %} -
{{_('Insert Image')}}
-{{_('Cancel')}}
-