The Jupyter notebook format allows for extensible metadata that can be 
attached to any cell/node.  Leo's present .ipynb exporter uses the 
"leo_headline" metadata to remember headline text.

It would be easy to write a "leo_gnx" metadata item, but that is not 
necessary. Leo's @persistence logic *already *restores clone links in *all* 
@auto trees, including @auto .ipynb trees!  I did not realize this before 
writing this post.

The technical details: PersistenceDataController.restore_gnx calls the 
low-level p._relinkAsCloneOf method.

Edward

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to