mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-02-20 21:39:41 +00:00
Add basic markdown support site wide
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
{% load markdown_tags %}
|
||||
|
||||
<tr id="item-{{item.pk}}" data-pk="{{item.pk}}" class="item_row">
|
||||
<td>
|
||||
<span class="name">{{ item.name }}</span>
|
||||
<div class="item-description">
|
||||
<em class="description">{{item.description|linebreaksbr}}</em>
|
||||
<em class="description">{{item.description|markdown}}</em>
|
||||
</div>
|
||||
</td>
|
||||
<td>£ <span class="cost">{{item.cost|floatformat:2}}</span></td>
|
||||
|
||||
Reference in New Issue
Block a user