Markdown: Convert Markdown via Jinja filter in the template
This gets rid of the use of javascript for converting node/post description. Now we only use markdown.js for real time as-we-type stuff, like node/post editing or commenting.
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
|
||||
| {% if node.description %}
|
||||
.node-details-description#node-description
|
||||
| {{node.description}}
|
||||
| {{ node.description | markdown }}
|
||||
| {% endif %}
|
||||
|
||||
include ../../_node_details
|
||||
|
Reference in New Issue
Block a user