YukiGasai / obsidian-google-calendar

Add Google Calendar inside Obsidian
https://yukigasai.github.io/obsidian-google-calendar/
GNU General Public License v3.0
382 stars 27 forks source link

Feature request: customise frontmatter for event notes #145

Closed andy-cowley closed 1 year ago

andy-cowley commented 1 year ago

I use frontmatter for a lot of my notes. When the event note is created it prepends a frontmatter block with the event ID in:

---
event-id: <id>
---

Using templates with frontmatter already in them then supersedes them rather than adding to them, e.g.:

---
event-id: 6ut2098q4scjg1koc6ohks8e43
---
---
created: 2023-06-30 13:28
status: meeting
tags:
- meeting
---

<...>

Would it be possible to either:

Thanks!

Bjaux commented 1 year ago

@YukiGasai i had the same problem and wrote a fix which I'm not completely sure is optimal, would you mind to take a look at it? :)

YukiGasai commented 1 year ago

This should be fixed with #168