Open link in new tab with github markdown with target = "_ blank"

Is there a way to make the link written in the githubs method open in a new tab? All the posts that I found related to this suggest using HTML and target="_blank" , which is good with me, but this does not work. For example, this link:

 <a href="http://stackoverflow.com" target="_blank">Go</a> 

Does not open in a new tab. I'm not interested in answering all kinds of markup syntaxes, but only in a solution that will work when I write my markdown on github.

+6
source share
1 answer

Well, it seems like a simple answer: "This is impossible." Github does not include the target attribute, even if you use plain HTML, so it is not in the final HTML Anchor tag. Annoying, but OK, users can just press CTRL + click on the link to get the same behavior.

+13
source

Source: https://habr.com/ru/post/1014523/


All Articles