Opening link in a new tab
See original GitHub issueIs it possible to add target="blank"
to Markdown links?
For example I wish to have the following URL open in a new browser tab when I left click:
[link to website](http://www.website.com)
Cheers
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
How to Use HTML to Open a Link in a New Tab - freeCodeCamp
To create a link on a web page, you need to wrap an element (text, a picture, and so on) in an anchor...
Read more >How to Open a New Tab When Clicking a Link in Google ...
To quickly open a link in a new tab on Google Chrome, hold down the control button while clicking on it with your...
Read more >Open link in new tab or window - html - Stack Overflow
If you set it to _tab or _new then it opens a window with that name. If a user clicks that link, goes...
Read more >3 Ways to Open a Link in a New Tab - How-To Geek
Ctrl + Click. The first method requires a keyboard and a mouse or trackpad. Simply press and hold the Ctrl key (Cmd on...
Read more >How to Force Your Browser to Open a Link in a New Tab
Use Keyboard with Mouse/Trackpad ... You can load any link in a new browser tab by clicking or tapping on it while holding...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For anyone else that ends up here via google search (like I did) and didn’t notice this in the docs, you can now use the
prop
linkTarget
to achieve this like so:See the docs for more info.
You can use a custom renderer: