Hi Jupyter Team, I have written some small extension which uses the html_embed.py converter
see https://github.com/ipython-contrib/jupyter_contrib_nbextensions/pull/1039 and the following question came up about how an *exporter* should handle *relative URIs *(e.g image links in markdown) when it comes to exporting the exporter in jupyter_contrib_nbextensions <https://github.com/ipython-contrib/jupyter_contrib_nbextensions>/src <https://github.com/ipython-contrib/jupyter_contrib_nbextensions/tree/master/src> /jupyter_contrib_nbextensions <https://github.com/ipython-contrib/jupyter_contrib_nbextensions/tree/master/src/jupyter_contrib_nbextensions> /nbconvert_support <https://github.com/ipython-contrib/jupyter_contrib_nbextensions/tree/master/src/jupyter_contrib_nbextensions/nbconvert_support> /embedhtml.py is triggered in a notebook by a menu entry "Download -> Embedded HTML" extension. The exporter then opens the files (from relative URIs in the markdown) on the filesystem. *This behavior is quite unstable, since it only works when jupyters working directory is the same as the notebook which is open.* I was wondering what the correct way would be to deal with these kind of URIs, and how an exporter can resolve these relative links without knowing the working directory of jupyter. Thanks for the help! BR -- 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/5052b591-a6b7-4ce2-b968-a21d1068c14f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
