mwouts / jupytext

Jupyter Notebooks as Markdown Documents, Julia, Python or R scripts
https://jupytext.readthedocs.io
MIT License
6.65k stars 386 forks source link

Support cell ids in text notebooks #1006

Closed mwouts closed 7 months ago

mwouts commented 2 years ago

The latest version of nbformat>=5.7.0 emits a message when a notebook has no cell ids.

I'd like to see what we could do about that. Maybe I'd prefer not to include the cell ids in the text notebooks by default, but we could still give an option to do so.

Also, pandoc>=2.7 does support cell ids, but Jupytext currently filters out the cell ids when saving to a text format , we should think about that.

Other possibilities would be