Render markdown / HTML in OS-level notifications #1982
Labels
A-Electron
A-Notifications
O-Occasional
Affects or can be seen by some users regularly or most users rarely
T-Enhancement
Z-Upstream
Your use case
What would you like to do?
Notifications from webhooks (via Hookshot) are not 'rendered' in the preview. Rather, Element provides a notification that a JSON payload was received.
It would be wonderful to have the notification display rendered message, rather than a notification on the incoming webhook itself
Why would you like to do it?
In the screenshot below, you can see how the incoming message looks like vs. the notification bubble.
(Minimum working example code provided below)
How would you like to achieve it?
Not sure on the specifics of how these notifications are rendered in Electron
Have you considered any alternatives?
Potentially could have the message fall back to plain text if we cannot render markdown and/or HTML.
Additional context
A minimum working code example (MWE) used to render the above notification:
The text was updated successfully, but these errors were encountered: