Skip to content

Commit 217b7da

Browse files
committed
Presentacion de markdown usando el filtro as_markdown
1 parent c7a2598 commit 217b7da

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

apps/events/templates/events/event-components/modals/slot-modal.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% extends "./modal.html" %}
1+
{% extends "./modal.html" %}{% load utils %}
22
{% block modal_id %}modal-slot-{{ scheduled_item.slot.id }}{% endblock %}
33

44
{% block modal_content %}
@@ -28,7 +28,9 @@ <h2 class="slot-title">{{ slot.name }}</h2>
2828
{% endfor %}
2929
</div>
3030

31-
<div class="slot-description">{{ slot.description|linebreaks }}</div>
31+
<div class="slot-description content">
32+
{{ slot.description|as_markdown }}
33+
</div>
3234

3335
<div class="talk-links columns">
3436
{% if slot.repo %}

0 commit comments

Comments
 (0)