User render.scss for markdown preview
This commit is contained in:
parent
6108c6f076
commit
684aa67e8e
4 changed files with 10 additions and 1 deletions
|
@ -33,3 +33,7 @@ $red: #b94a48;
|
|||
border-color: $dark-pink;
|
||||
color: $red;
|
||||
}
|
||||
|
||||
.markdownx-preview {
|
||||
@import 'render';
|
||||
}
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -17,5 +17,7 @@
|
|||
{% csrf_token %}
|
||||
{{ form|crispy }}
|
||||
</form>
|
||||
<div class="preview">
|
||||
{{ form.media }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue