Skip to content
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

strip cell metadata for markdown cells #2857

Merged
merged 1 commit into from
Mar 21, 2023

Conversation

jonsequitur
Copy link
Contributor

@jonsequitur jonsequitur commented Mar 21, 2023

This fixes #2853 by stripping cell metadata for Markdown cells.

image

const updatedCellMetadata = { ...cell.metadata };
delete updatedCellMetadata.custom.metadata.dotnet_interactive;
delete updatedCellMetadata.custom.metadata.polyglot_notebook;
delete updatedCellMetadata.custom.metadata.brett;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deleting this...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

#!import is broken by Markdown cells in imported .ipynb files
2 participants