'Jupyter notebook open link in new tab
I want to make hyperlinks in my Jupyter Notebook to open in a new tab. But, I don't know how to do it. Suggestions?
I want this [link](url) to open in a new tab.
Solution 1:[1]
If for some reason you need to force links to open in a new tab, Jupyter's markdown cells will render pure html, where you can use the target
attribute.
<a href="http://example.com/" target="_blank">link</a>
That said with Jupyter 4.2.0 I get the behavior that you request by default: markdown links automatically open in a new tab.
Solution 2:[2]
This works well ! Try it !
[example.com](http://example.com/)
Solution 3:[3]
This solution is worked for me:
Surround the link with two underscores (_) on each side IBM Docs - Markdown for Jupyter notebooks cheatsheet
__[link text](http://url)__
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | akarve |
Solution 2 | Toni Zeidler |
Solution 3 | EmreKara |