PR #4119 <https://github.com/leo-editor/leo-editor/pull/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

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/leo-editor/23da9c7e-9c66-414b-b4ce-da82b4323515n%40googlegroups.com.

Reply via email to