diff options
author | Matthew Lemon <y@yulqen.org> | 2024-05-16 12:36:44 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-05-16 12:36:44 +0100 |
commit | 1e03df132dc263baf3434aa6daf47b373e564377 (patch) | |
tree | 42dae785a782418fd2b71b11ff4fb59acdfce8a2 /pyblackbird_cc/templates/resources/resource_detail.html | |
parent | ed4f9bc53f52aaf3957d30658626a6ff794adcac (diff) |
wip: markdown implemented for description field but working on help_text
Diffstat (limited to 'pyblackbird_cc/templates/resources/resource_detail.html')
-rw-r--r-- | pyblackbird_cc/templates/resources/resource_detail.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pyblackbird_cc/templates/resources/resource_detail.html b/pyblackbird_cc/templates/resources/resource_detail.html index 70c1b11..8391cca 100644 --- a/pyblackbird_cc/templates/resources/resource_detail.html +++ b/pyblackbird_cc/templates/resources/resource_detail.html @@ -1,5 +1,7 @@ {% extends 'base.html' %} +{% load markdown_extras %} + {% block content %} <div class="container"> <div class="row my-4"> @@ -71,8 +73,7 @@ {% endfor %} <div class="row my-5"> <div class="col bg-white pt-3 border border-success border-opacity-25 rounded"> - <h3>What's included?</h3> - <div>{{ resource.description }}</div> + <div>{{ resource.description | markdown | safe }}</div> </div> </div> <div class="row"> |