Commit 532562b7 authored by cynddl's avatar cynddl
Browse files

Fix display of markdown body using markdown2

parent 9fdbf4bd
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
{% load static %} {% load static %}
{% load crispy_forms_tags %} {% load crispy_forms_tags %}
{% load crispy_forms_field %} {% load crispy_forms_field %}
{% load md2 %}
{% block content-banner %} {% block content-banner %}
...@@ -50,7 +51,7 @@ ...@@ -50,7 +51,7 @@
{% endfor %} {% endfor %}
</p> </p>
<p>{{object.extracts}}</p> <p>{{object.extracts |markdown}}</p>
</div> </div>
</div> </div>
......
...@@ -22,6 +22,7 @@ CONTRIB_APPS = [ ...@@ -22,6 +22,7 @@ CONTRIB_APPS = [
"django_und", # https://github.com/luxcem/django_und "django_und", # https://github.com/luxcem/django_und
"taggit", "taggit",
"crispy_forms", "crispy_forms",
"django_markdown2",
"allauth", "allauth",
"allauth.account", "allauth.account",
......
...@@ -22,10 +22,11 @@ button, input, optgroup, select, textarea { ...@@ -22,10 +22,11 @@ button, input, optgroup, select, textarea {
} }
em { em {
font-style: normal; font-style: italic;
}
strong {
font-weight: bold; font-weight: bold;
font-family: FiraSansSemiBold;
font-size: 18px;
} }
.subtitle { .subtitle {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment