add markdown rendering for program
This commit is contained in:
parent
e376bc1389
commit
49f39f1ecb
6 changed files with 126 additions and 25 deletions
|
@ -34,19 +34,19 @@
|
|||
<span class="full">{{ event.start }}{{ " – " + event.end if event.end }}</span>
|
||||
</div>
|
||||
|
||||
<p>{{ getLocalized(event.description) }}</p>
|
||||
<p>{{ getLocalized(event.description) | mdInline | safe }}</p>
|
||||
|
||||
{% if event.annotation %}
|
||||
<p class="annotation">
|
||||
{% icon "solid:exclamation", title=("Notice" if lang == "en" else "Hinweis") %}
|
||||
{{ getLocalized(event.annotation) }}
|
||||
{{ getLocalized(event.annotation) | mdInline | safe }}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{% if event.location %}
|
||||
<p class="location">
|
||||
{% icon "solid:location-dot", title=("Location" if lang == "en" else "Veranstaltungsort") %}
|
||||
{{ getLocalized(event.location) }}
|
||||
{{ getLocalized(event.location) | mdInline | safe }}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue