How to hyperlink in a Jupyter notebook?
To create a internal clickable link in the same notebook:
Step 1: Create link
[To some Internal Section](#section_id)
Step 2: Create destination
<a id='section_id'></a>
To create link in one notebook and destination in another notebook.
Step 1: Create link
[To Some Internal Section](another_notebook.ipynb#section_id2)
Step 2: Create Destination
<a id='section_id2'></a>
If the notebook is inside a folder present in the current working directory:
[To Some Internal Section](TestFolder/another_notebook.ipynb#section_id3)
For anyone using Google Colaboratory:
Linking within file:
- click on the cell you want to link to
- in the top right, click the ellipses (...), and click
Link to cell
- copy only the suffix of the hyperlink, starting with the hashtag
#
- create a link in your markdown with the hashtag suffix (e.g.,
[Section 5](#hashtag_suffix)
)
Linking to other files
similar to above; instead copy the full cell link