[GH-ISSUE #866] Markdown links in web app: same tab? #608

Closed
opened 2026-05-07 00:25:50 +02:00 by BreizhHardware · 2 comments

Originally created by @lephtHanded on GitHub (Sep 5, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/866

Question
In my experience, links created by markdown aka this type of link usually open in new tabs within my browser.
When I visit the NTFY web app (self hosted) the links open within the same tab. Are the other sites that implement the MD links putting in additional behind the scenes HTML for that?

(I know I'm a lazy bum that doesn't want to shift+click or middle click :) )

Originally created by @lephtHanded on GitHub (Sep 5, 2023). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/866 <!-- Before you submit, consider asking on Discord/Matrix instead. You'll usually get an answer sooner, and there are more people there to help! - Discord: https://discord.gg/cT7ECsZj9w - Matrix: https://matrix.to/#/#ntfy:matrix.org / https://matrix.to/#/#ntfy-space:matrix.org --> :question: **Question** In my experience, links created by markdown aka [this type of link](https://github.com/binwiederhier/ntfy) usually open in new tabs within my browser. When I visit the NTFY web app (self hosted) the links open within the same tab. Are the other sites that implement the MD links putting in additional behind the scenes HTML for that? (I know I'm a lazy bum that doesn't want to shift+click or middle click :) )
BreizhHardware 2026-05-07 00:25:50 +02:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@masterujjval commented on GitHub (Sep 11, 2023):

Yeah because Markdown currently does not support hyperlinks being opened on a new tab.
Consider reading this.

<!-- gh-comment-id:1713494263 --> @masterujjval commented on GitHub (Sep 11, 2023): Yeah because Markdown currently does not support hyperlinks being opened on a new tab. Consider reading [this](https://stackoverflow.com/questions/4425198/can-i-create-links-with-target-blank-in-markdown/8000171#8000171).
Author
Owner

@lephtHanded commented on GitHub (Sep 13, 2023):

thank you, great info.

<!-- gh-comment-id:1717688380 --> @lephtHanded commented on GitHub (Sep 13, 2023): thank you, great info.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#608
No description provided.