pushbits / server

A simple server for push notifications via Matrix (and a minimalistic alternative to Pushover and Gotify) 🚀📯
https://www.pushbits.io
ISC License
314 stars 18 forks source link

Send formatted messages #21

Closed eikendev closed 3 years ago

eikendev commented 3 years ago

We can use SendFormattedText() to send messages with formatting.

eikendev commented 3 years ago

Fixed in f5560b0c4690c576359b88d29e08ede7d2d43f7e.

CubicrootXYZ commented 3 years ago

Hey, thanks for this work.

How can I send formatted text? I tried it with Markdown and HTML both did not work very well. Do I need to activate sth or change the POST request?

eikendev commented 3 years ago

Hi, this issue was rather meant only so the title is formatted in bold. But you are right, we could have formatted messages as well.

I see Gotify implemented this in a configurable way, where users can decide if they want plain text or Markdown. I think it would make sense to adopt this, such that we prioritize compatibility?

CubicrootXYZ commented 3 years ago

Hey, thanks for answering that quickly. Yes, an additional option for Markdown would be enough for my needs. Would be great if you let me know when there is news on this topic, as I really need that feature to switch to pushbits.

eikendev commented 3 years ago

Sure, I'll implement this as the next feature. Guess this is a blocker for many others, too. Maybe this weekend, but no promises.