runme icon indicating copy to clipboard operation
runme copied to clipboard

`runme fmt` can mangle frontmatter when `--flatten` is false

Open mxsdev opened this issue 2 years ago • 0 comments

The runme fmt command doesn't use the notebook serializer/deserializer unless --flatten is set. So, in particular, it doesn't do separation of frontmatter from document when parsing.

I am personally fine with setting --flatten as the default, and warn users of this behavior for now; this is what I've done in #310.

mxsdev avatar Jun 22 '23 02:06 mxsdev