-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Saving a notebook modifies (e.g. removes) metadata #2919
Comments
We should not be removing the metadata. The cause of this is we don't save the metadata internally, so of course we remove it. |
I see - thank you for confirming that. How difficult do you think a fix will be? |
Not very hard. I'm actually working on this right now. |
Validated with a local test file. Metadata is no longer removed. |
Bug: Saving an ipynb modifies (e.g. removes) metadata.
Steps to cause the bug to occur
.ipynb
) file:Open it in VSCode, make a change (e.g. add the word "test" to the markdown) and save it.
View the source for the
.ipynb
and you will see the metadata is gone:Actual & Expected behavior
The expected behaviour, ideally, is to leave the metadata alone. The site-generator I use throws an error and exits when it doesn't get the expected metadata.
Your Jupyter and/or Python environment
Please provide as much info as you readily know
The text was updated successfully, but these errors were encountered: