From b3c7d985a50a38fcb19d8e9f91b5b719d43e31a4 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 26 May 2024 16:02:28 +0100 Subject: Markdown for the card description --- pyblackbird_cc/templates/resources/resource_list.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pyblackbird_cc') diff --git a/pyblackbird_cc/templates/resources/resource_list.html b/pyblackbird_cc/templates/resources/resource_list.html index eb2506a..f7e705c 100644 --- a/pyblackbird_cc/templates/resources/resource_list.html +++ b/pyblackbird_cc/templates/resources/resource_list.html @@ -1,6 +1,7 @@ {% extends "base.html" %} {% load static %} +{% load markdown_extras %} {% block title %} Joanna Lemon Learning - Resource List @@ -60,7 +61,7 @@ {{ resource.age_range }} -

{{ resource.description }}

+

{{ resource.description | markdown | safe }}

Details @@ -97,7 +98,7 @@ {{ resource.age_range }} -

{{ resource.description }}

+

{{ resource.description | markdown | safe }}

Details -- cgit v1.2.3