Shortcuts - Read/Write to Frontmatter

Frontmatter, particularly on a daily note, is a great place to store metric style data. For example, how many push-ups I did today. I already use a “daily note” shortcut to create such notes, but often the data is not available at the time that I create the note. It would be handy to be able to write to a frontmatter field a number or string using a shortcut … “Record number of push-ups”

Being able to read from a frontmatter field would mean that I would be able to create a counter in frontmatter and even implement it with Siri “Hey Siri, I got a sale!”.

Secondly, being able to read frontmatter from shortcuts would make it easy to extract data across multiple notes.

It maybe possible already, with the “replace” text option on the “Add Text” shortcuts, but parsing frontmatter and YAML and writing it back again is very ticky and brittle. It would be much better if Bear had specific shortcuts to handle it.