There are a few different tools out there to convert Jupyter notebooks (which are JSON files) to plain text formats and vice-versa. For instance, pandoc converts to org-mode or markdown, and jupytext converts to regular python scripts.

It would be nice if one could transparently edit ipynb files using one of these tools. That is, when visiting an ipynb file, one actually sees its plain text version instead of the JSON; and, when saving, the result of converting the buffer contents back to ipynb JSON is what is actually written to disk.

Of course this can be implemented, but my question is: is there already a package or any other simple way to achieve this?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.