Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send formatted messages #21

Closed
eikendev opened this issue Feb 8, 2021 · 5 comments
Closed

Send formatted messages #21

eikendev opened this issue Feb 8, 2021 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@eikendev
Copy link
Member

eikendev commented Feb 8, 2021

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

@eikendev eikendev self-assigned this Feb 8, 2021
@eikendev eikendev added the enhancement New feature or request label Feb 8, 2021
@eikendev
Copy link
Member Author

eikendev commented Feb 8, 2021

Fixed in f5560b0.

@eikendev eikendev closed this as completed Feb 8, 2021
@CubicrootXYZ
Copy link
Collaborator

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
Copy link
Member Author

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
Copy link
Collaborator

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
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants