You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When converting an old notebook using jupytext from the command line to an alternate format (tried md and py), any custom metadata added to the entire notebook (not to an individual cell) is not stored in the resulting text file.
I was running jupytext on the notebooks at https://github.com/IanHawke/maths-with-python to test. There's custom notebook level metadata (under the "nbconvert" group, called "title") to use in a hacky ipynb->pdf book pipeline. The pipeline probably won't be useful, but notebook-level metadata might be useful for other purposes.
The text was updated successfully, but these errors were encountered:
Hello Ian, indeed by default a filter is applied to the metadata. The use of these filters is documented here in the context of Jupyter.
But I see it's not documented in the context of the command line, I'll try to fix this at some point. Anyway, I think what you are looking for is --update-metadata '{"jupytext": {"notebook_metadata_filter":"all"}}'. See for instance:
When converting an old notebook using
jupytext
from the command line to an alternate format (triedmd
andpy
), any custom metadata added to the entire notebook (not to an individual cell) is not stored in the resulting text file.I was running
jupytext
on the notebooks at https://github.com/IanHawke/maths-with-python to test. There's custom notebook level metadata (under the"nbconvert"
group, called"title"
) to use in a hacky ipynb->pdf book pipeline. The pipeline probably won't be useful, but notebook-level metadata might be useful for other purposes.The text was updated successfully, but these errors were encountered: