jupytext icon indicating copy to clipboard operation
jupytext copied to clipboard

nbviewer integration

Open nthiery opened this issue 4 years ago • 4 comments

It would be great if nbviewer.jupyter.org/ was aware of jupytext, and would display text notebooks like the other notebooks!

nthiery avatar Feb 15 '21 11:02 nthiery

Example: open 2021-02-15-SageOscarDays.md from:

https://nbviewer.jupyter.org/github/nthiery/shared-sage-notebooks/tree/master/

nthiery avatar Feb 15 '21 11:02 nthiery

Hi @nthiery , well sure that is a nice idea! I guess you're thinking of a notebook for which the outputs are not fundamental (as they are not stored in the Jupytext formats) - is that correct?

Now, if you want to make this happen, you could reach out to the nbviewer or maybe even nbconvert projects, and see if they would be open to use jupytext.read in place of nbformat.read to open notebooks.

mwouts avatar Feb 15 '21 23:02 mwouts

Done :-) Thanks for the quick feedback!

PS: I love jupytext, notably for being able to jump back and forth between my favorite text editor and jupyter depending on the kind of editing I do.

nthiery avatar Feb 16 '21 06:02 nthiery

PS: I love jupytext, notably for being able to jump back and forth between my favorite text editor and jupyter depending on the kind of editing I do.

Thank you @nthiery for your kind words! Funny enough it is exactly this use case that I personally enjoy the most :smile:

mwouts avatar Mar 03 '21 00:03 mwouts