> > > With jupytext <https://jupytext.readthedocs.io/en/latest/>as an > inspiration, Leo might *pair .ipynb with corresponding outline nodes*: > > - Update the paired outline node when the corresponding .ipynb file > changes. > - Write the paired .ipynb file when the corresponding outline node changes. > > The details of pairing .ipynb files with outline nodes are fuzzy. But > surely this pairing is possible. > > I assume that Jupyter can update .ipynb files when they change externally. >
It would be great if this works. I wouldn't have to use jupytext as a bridge. Also, as far as I know, jupyter is not able to detect external updates, and can only be updated using `reload notebook from disk` in the File menu. > ref: https://github.com/mwouts/jupytext#paired-notebooks > You can edit the .py version of the paired notebook, and get the edits back in Jupyter by selecting *reload notebook from disk*. The outputs will be reloaded from the .ipynb file, if it exists. The .ipynb version will be updated or recreated the next time you save the notebook in Jupyter. -- 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 on the web visit https://groups.google.com/d/msgid/leo-editor/CA%2BUQrQxc0RBmsCadjfJLz2Z_4cO9xabJKeoOGn-c-bchiLHK0A%40mail.gmail.com.
