Issue
#4117 suggests pairing .ipynb files with Leo nodes.
I have put considerable effort into revising the first comment of that issue.
Imo, the acid test is whether Leo can run jupytext as a script.
That's likely because jupytext mostly just munges code.
And success! The following Leonine script works as expected:
from jupytext.cli import jupytext as cli
args = ['--to', 'py:percent', r'c:\test\Notebooks-intro.ipynb']
cli(args)
The output is:
[jupytext] Reading c:\test\Notebooks-intro.ipynb in format ipynb
[jupytext] Updating the timestamp of 'c:\test\Notebooks-intro.py'
Imo, this prototype script demonstrates that issue #4117 is feasible!
Edward