Skip to content

Commit

Permalink
Preserve orphan and tocdepth metadata when present
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Mar 18, 2020
1 parent e2f7216 commit 3c19ba9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jupytext/metadata_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
# Preserve kernel specs
'kernelspec',
# Kernel_info found in Nteract notebooks
'kernel_info'])
'kernel_info',
# Used in MyST notebooks
'orphan', 'tocdepth'
])


def metadata_filter_as_dict(metadata_config):
Expand Down

0 comments on commit 3c19ba9

Please sign in to comment.