问题
How is this done? I'd like to have the link be in a markdown cell.
回答1:
For visual learners.
[blue_text](url_here)
Thanks dbliss.
回答2:
In case it is not a markdown cell, that is with what I went:
from IPython.core.display import display, HTML
display(HTML("""<a href="https://google.at">text</a>"""))
回答3:
Just another tip, using magic expression.
%%html
<a href="your_url_here">Showing Text</a>
Improved. Thanks to the comment of calocedrus.
回答4:
Here is the code I use in my python notebook when I want to insert a link to a webpage inside a markdown cell (in a python notebook).
[Clickable_visible_hyperlink](Hidden_landing_URL)
--note Here is the clickable hyperlink, you can change the value
来源:https://stackoverflow.com/questions/25692293/inserting-a-link-to-a-webpage-in-an-ipython-notebook