cmark-gfm
cmark-gfm copied to clipboard
open link in new page
how can add target="_blank" to markdown links [test](http://test.com) in github?!
See https://github.com/mojombo/github-flavored-markdown/issues/28 which seems to be the wrong project and check all the comments there.
Is this project the right one? I could not find the current implementation of github flavored markdown, so I just guessed that maybe it is this gfm project. If it is the wrong project also, could you please help me to find the right place to raise the issue?
Yes, I think it would be good to change the autolink behaviour to open links in new tab by default:
<a href="http://example.com" target="_blank" rel="noopener"
In my experience, good to open links in new tab preserving the page that I'm on.
Note that _target blank now implies noopener in newer browser versions (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target), but noopener should still be added explicitly for older browser versions that aren't on the latest W3C spec.
Cheers,