From 0a0eb43d78f9cae9c7ea91e4812256519e06b7e3 Mon Sep 17 00:00:00 2001
From: Hornwitser
Date: Tue, 16 Sep 2025 20:54:36 +0200
Subject: [PATCH] Treat description fields as markdown
Support basic formatting in the display of the description fields to
locations, events and shifts by rendering them as Markdown using the
micromark library.
---
components/CardEvent.vue | 15 ++-
components/CardEventSlot.vue | 14 +-
components/CardShift.vue | 15 ++-
package.json | 1 +
pages/schedule.vue | 8 +-
pnpm-lock.yaml | 243 +++++++++++++++++++++++++++++++++--
6 files changed, 282 insertions(+), 14 deletions(-)
diff --git a/components/CardEvent.vue b/components/CardEvent.vue
index baca351..cec96b9 100644
--- a/components/CardEvent.vue
+++ b/components/CardEvent.vue
@@ -16,7 +16,11 @@
{{ event.notice }}
{{ event.description ?? "No description provided" }}
+{{ event.interested }} interested
@@ -56,12 +60,19 @@