obsidian-share-as-gist
obsidian-share-as-gist copied to clipboard
Metadata is being transformed on gist update
original meta data
metadata after gist update
The existing metadata is being modfiied.
- [ ] I dont' think the gists data is correct in terms of sub data and indent
- [ ] It looks like empty strings
aliases
is turned intonull
- [ ] tags and emojis are being changed. they should be array format. and emojis and others shoudl not be changed.
- [ ] dates are beign modfied
In general only gist metadata should be modified. @timrogers
Thanks for flagging this!
The indentation of the gists
data looks fine to me. But it does look like the library we're using for working with YAML front-matter, gray-matter
, is doing some normalization on YAML input it processes. I'm not going to have time to address this - but you would be welcome to make a contribution to fix this issue.