From 69c9eba3f505bc044b2ffe53afb828492611b85a Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 10 May 2025 23:58:50 +1000 Subject: notif: allow markdown in body --- modules/notifications/Notification.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/notifications/Notification.qml') diff --git a/modules/notifications/Notification.qml b/modules/notifications/Notification.qml index cb067f9..c8516d3 100644 --- a/modules/notifications/Notification.qml +++ b/modules/notifications/Notification.qml @@ -353,6 +353,7 @@ StyledRect { anchors.rightMargin: Appearance.spacing.small animate: true + textFormat: Text.MarkdownText text: bodyPreviewMetrics.elidedText color: Colours.palette.m3onSurfaceVariant font.pointSize: Appearance.font.size.small @@ -383,6 +384,7 @@ StyledRect { anchors.rightMargin: Appearance.spacing.small animate: true + textFormat: Text.MarkdownText text: root.modelData.body color: Colours.palette.m3onSurfaceVariant font.pointSize: Appearance.font.size.small -- cgit v1.2.3-freya