PR
#4119 has reached an epic milestone!
- Leo now seamlessly interacts with Jupyter notebooks.
- Leo reads @jupytext trees using the @clean upgrade algorithm.
- Leo updates @jupytext trees when the Jupyter changes the corresponding .ipynb file.
Leo now deletes the paired .py files when writing .ipynb files. As a result, you must reload the Jupyter page after changing a .ipynb file from Leo.
It would be easy to retain paired .py files, but they seem to confuse Jupyter. I welcome testing, comments and suggestions! It's still early days for this project.
Edward
P.S. The next step will be to provide, as an option, the ability to read and write @jupytext trees as if they were @file trees. @file has significant advantages over @clean, but of course @file writes Leo sentinels. We shall see whether those sentinels are compatible with Jupyter and bearable for Jupyter users.
EKR