0xGG/crossnote-app

make yaml front matter compatible with other markdown based systems

Closed this issue · 3 comments

the issue with the yaml front matter is the extra "note:", but I could imagine an option to avoid this "note:" to make it compatible to some other systems storing their metadata in yaml.

Without this "note:" it would be nearly perfect. Al least for some common metadata like tags, createdAt, modifiedAt

---
note:
    createdAt: 2020-03-28T07:52:59.238Z
    modifiedAt: 2020-03-28T08:37:27.812Z
    tags: [tutorial]
    id: ""
---

Hi @aisbergde , the front matter is now changed to

created: 2020-03-28T07:52:59.238Z
modified: 2020-03-28T08:37:27.812Z
tags: [tutorial]

note: is removed now.

Thanks

I try to check, but I can't manually pull changes. I will create a new issue.

huyz commented

updated is more typical than modified