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:

   - using sed to replace all occurrences of ipynb with html
   - hard-coding html 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.

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/f2cee032-1fe1-4d06-9ec8-837af3c2812f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to