I currently have a line inside a notebook (File1.ipynb):
[File 2](File2.ipynb)
When downloading both the files as HTML, this link is hard-coded, and hence when I click on the link in the generated File1.html, it can't find the file, because it refers to ipynb and not to html.
I could try:
sed to replace all occurrences of ipynb with htmlhtml inside the notebook, which will prevent me from using the links when I'm editing the notebook.But, is there an alternative?
Is there, perhaps, a way to specify two links inside the notebook such that if the browser fails to find the first one, it'll try the second? I tried searching for such a method. I couldn't find it.