unrealapex
unrealapex

Reputation: 630

Is it possible to create links with 'target=“_blank”' with GitHub Flavored Markdown?

Is it possible to create links that open in a new tab in GitHub Flavored Markdown like this <a href="https://www.example.com" target="_blank">test</a> . If so, How would I be able to do this?

Upvotes: 2

Views: 3758

Answers (1)

Rolv Apneseth
Rolv Apneseth

Reputation: 2118

Looking at this answer here it seems that this is not possible, as Github does not include the target attribute even in plain HTML.

As for what I believe is the reasoning, I found this issue on github while browsing, which says that when target="_blank" is used without rel="noreferrer noopener", it can present a severe security vulnerability.

Upvotes: 3

Related Questions