ENB: Enhancing @jupytext yourself

15 views
Skip to first unread message

Edward K. Ream

unread,
Oct 30, 2024, 12:50:26 PM10/30/24
to leo-editor

PR #4138 is now code complete. I'll merge it soon.


This Engineering Notebook post discusses enhancements to @jupytext that you can make yourself without my permission. There are two tasks you might like help doing:


Create notebook markup for new cells


Leo's abbreviations and @button nodes are the obvious choices.


Hide notebook markup


This task requires a plugin. @jupytext triggers these events:


- after-reading-external-file.

- before-writing-external-file events.

- create-node.


I doubt this task is feasible, but these events make the task conceivable.


Summary


The PR provides the necessary tools to enhance your experience of @jupytext.


Edward


P.S. I have just created #4139. This issue suggests supporting @language notebook. See the issue for details. This enhancement will be part of Leo 6.8.3.


EKR

Reply all
Reply to author
Forward
0 new messages