feat: markdown in email body for mailing and transactional

This commit is contained in:
Björn Fromme
2026-08-20 14:00:53 +02:00
parent f0e850978b
commit 5912a75c81
23 changed files with 1251 additions and 160 deletions
@@ -0,0 +1,24 @@
{# Shown under both mail editors, so an admin meets the same syntax in each of them. #}
<div class="text-sm text-gray-500">
<div class="pb-2">
Formatierung der Nachricht:
</div>
<div class="flex flex-wrap gap-2">
{% for example, label in {
'**fett**': 'fett',
'*kursiv*': 'kursiv',
'## Überschrift': 'Überschrift',
'- Punkt': 'Aufzählung',
'1. Punkt': 'Nummerierung',
} %}
<span class="inline-flex items-center space-x-1 py-1 px-2 bg-gray-50 border border-gray-200 rounded">
<code>{{ example }}</code>
<span>{{ label }}</span>
</span>
{% endfor %}
</div>
<div class="pt-2">
Eine Leerzeile beginnt einen neuen Absatz, Links und E-Mail-Adressen werden
automatisch verlinkt.
</div>
</div>