Render the Markdown content for entries in Jinja2 - the resulting HTML isn't pretty yet, I'll probably need to write an html5lib filter that prettifies it
This commit is contained in:
parent
e4aa5c6e6e
commit
b145f4ada9
4 changed files with 41 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
|||
{{i}}<h4 class="card-title p-name">{{ entry.name }}</h4>
|
||||
{% endif %}
|
||||
{{i}}<div class="e-content">
|
||||
{{i}}{{ entry.content | indent(indent_width + 6) }}
|
||||
{{i}}{{ entry.content | markdown }}
|
||||
{{i}}</div>
|
||||
{{i}}</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue