On Fri, Sep 9, 2016 at 7:07 AM, MinRK <[email protected]> wrote: > We’ve been thinking of separate ‘edit’ and ‘view’ links from the tree > view, which would do this explicitly, but coming up with the UI for two > links instead of one has prevented anyone from actually making the PR. The > upcoming JupyterLab has an “Open With…” that makes this sort of thing much > easier. > > One workaround you can have is to have relative links to the html files in > notebooks with relative URLs, which will resolve to the /files/ version, > e.g. > > [link text](relative/myfile.html) > > -MinRK > Min, does this have an issue associated? I'd love to see this bumped up in priority so that a UI could be proposed and implemented. This is a hurdle for those that would like to use Jupyter to cover HTML in an educational setting, especially in a Digital Humanities-oriented course. It is also a problem when trying to return feedback to students from nbgrader. (Nbgrader produces HTML, but there is no easy way for the students to render it even if you copy it into their folders on Jupyterhub.)
Regarding a UI: it seems like it would be easy to put two additional buttons next to [Rename][Duplicate] when a file is selected. I imagine [View] and [Edit]. -Doug > > > On Wed, Sep 7, 2016 at 8:57 PM, Kristen Thyng <[email protected]> wrote: > >> Hi! When I have an html file in a directory that my jupyter server can >> see, it shows up as editable. I found on the interne >> <http://stackoverflow.com/questions/33620636/how-can-i-render-html-in-a-jupyter-notebook>t >> that you can get it to show up as rendered by replacing "edit" in the url >> with "files", and it works beautifully. While this is a very easy >> workaround, any chance this could happen by default, with maybe something >> like the "raw" option on github in case you actually want to see the >> unrendered html? >> >> So you can the html file url from: >> >> myhtmlfile/edit/file.html >> >> to >> >> myhtmlfile/files/file.html >> >> Thanks! >> Kristen >> >> -- >> 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/ms >> gid/jupyter/c2d766e8-c225-46e0-8b2b-ba9d656dea19%40googlegroups.com >> <https://groups.google.com/d/msgid/jupyter/c2d766e8-c225-46e0-8b2b-ba9d656dea19%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- > 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/CAHNn8BUwH0tNkOneG_H%3D%2ByFCWdwvXzacUwf2gN_ > 88sai2sgwkw%40mail.gmail.com > <https://groups.google.com/d/msgid/jupyter/CAHNn8BUwH0tNkOneG_H%3D%2ByFCWdwvXzacUwf2gN_88sai2sgwkw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CAAusYCh99ia8QkM9wApZmQrt34QV6FyXSBy0JvZdwWFY-AqHQQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
