User render.scss for markdown preview

This commit is contained in:
audax 2019-09-12 21:39:12 +02:00
parent 6108c6f076
commit 684aa67e8e
4 changed files with 10 additions and 1 deletions

View file

@ -33,3 +33,7 @@ $red: #b94a48;
border-color: $dark-pink;
color: $red;
}
.markdownx-preview {
@import 'render';
}

View file

@ -19,10 +19,13 @@
<!-- Latest compiled and minified Bootstrap CSS -->
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro&display=swap" rel="stylesheet">
<!-- Your stuff: Third-party CSS libraries go here -->
{% compress css %}
<link href="{% static 'css/pygmentize.css' %}" rel="stylesheet">
<!-- This file stores project-specific CSS -->
<link type="text/x-scss" href="{% static 'sass/project.scss' %}" rel="stylesheet">

View file

@ -17,5 +17,7 @@
{% csrf_token %}
{{ form|crispy }}
</form>
<div class="preview">
{{ form.media }}
</div>
{% endblock %}