Save custom metadata related to draft

Drafts does not store custom meta data elements, so storing the content as say YAML within the body may be an option. As noted you could store data externally in a file and it is what I tend to do with my own meta data approach - with the same limitation you noted.

There is more about all of this in the following topic.

Overall, I think a strict set of YAML might be your easiest approach.

Hope that helps.