diff --git a/schickmacher/static/sass/project.scss b/schickmacher/static/sass/project.scss index 1208a38..bf4ec76 100644 --- a/schickmacher/static/sass/project.scss +++ b/schickmacher/static/sass/project.scss @@ -33,3 +33,7 @@ $red: #b94a48; border-color: $dark-pink; color: $red; } + +.markdownx-preview { + @import 'render'; +} diff --git a/schickmacher/templates/base.html b/schickmacher/templates/base.html index d44cadd..3aadc11 100644 --- a/schickmacher/templates/base.html +++ b/schickmacher/templates/base.html @@ -19,10 +19,13 @@ + + {% compress css %} + diff --git a/schickmacher/templates/renderer/render_form.html b/schickmacher/templates/renderer/render_form.html index cb7e8b0..f0db677 100644 --- a/schickmacher/templates/renderer/render_form.html +++ b/schickmacher/templates/renderer/render_form.html @@ -17,5 +17,7 @@ {% csrf_token %} {{ form|crispy }} +
{{ form.media }} +
{% endblock %} diff --git a/schickmacher/templates/renderer/rendered.html b/schickmacher/templates/renderer/rendered.html index ed003ac..29b7775 100644 --- a/schickmacher/templates/renderer/rendered.html +++ b/schickmacher/templates/renderer/rendered.html @@ -5,7 +5,7 @@ {{ title }} {% compress css %} - + {% endcompress %}