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

Web UI: Clickable links #406

Closed
erickhavel opened this issue Sep 19, 2022 · 7 comments
Closed

Web UI: Clickable links #406

erickhavel opened this issue Sep 19, 2022 · 7 comments
Labels
question This is a question

Comments

@erickhavel
Copy link

I haven't been able to figure out a way to do this... Neither HTML nor markdown works (they're both output as-is). Is there any way to get hyperlinks to work in the web UI?

@erickhavel
Copy link
Author

I also tried with the "Click" header, didn't seem to do anything.

@binwiederhier
Copy link
Owner

This creates a clickable link in the web UI and in Android:

curl -d "this is a link: https://google.com" ntfy.sh/mytopic
{"id":"VGC6XqplEFIw","time":1663948323,"event":"message","topic":"mytopic","message":"this is a link: https://google.com"}

Markdown and HTML are not supported.

@binwiederhier binwiederhier added the question This is a question label Sep 23, 2022
@binwiederhier
Copy link
Owner

I'm going to close this ticket since links are already clickable as demonstrated above, and markdown support is requested in #310. Let me know if you have more questions.

@erickhavel
Copy link
Author

Doesn't work for me:

image

Oh but ok, there's a UI update/revamp that I've missed (I've just patched the binary in my Docker setup)... that explains it.

@binwiederhier
Copy link
Owner

The screenshot you posted is from a UI that's many months old. I highly suggest you update your image frequently.

@erickhavel
Copy link
Author

Yeah I think I've forgotten to rebuild the container and instead just restarted after putting the new binary in place. 🤦 Working now!

@erickhavel
Copy link
Author

Let me know if you have more questions.

Shall I assume that there's no way to create hyperlinks then until Markdown support is implemented?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is a question
Projects
None yet
Development

No branches or pull requests

2 participants