Open choldgraf opened 4 years ago
Note the first option makes markdown-notebook conversions simpler. Also note, when converting to the docutils docinfo
, currently all values that are lists or dicts are stripped (e.g. {"key": {"nested": "dict"}}
)
yeah - I think it makes parsing things simpler, but at the cost that asking users to manipulate notebook metadata is trickier, since IMO there isn't a very user-friendly UI process around this.
Do you think it would add much complexity if we parsed the first markdown cell, checking for front-matter YAML, and added that to whatever the notebook-level metadata had in it?
That’s certainly a possibility
In a markdown file, this is pretty straightforward - it's just the
---
blocks at the top.But for an
ipynb
file, we have a couple options:Currently we do the first, just wanna make sure it's an intentional decision!