Is it also worth bringing this discussion up too? - Ability to add arbitrary properties to Note Properties, and hence Markdown frontmatter - #5 by gotofritz
It is about also being able to use the YAML frontmatter to store additional key-value pairs within the note metadata and it seems to me (probably naively) that it could use the same functionality as could be provided via the plugin api.