YAML or TOML Support

I’d like to create some Drafts actions to help me in writing blog posts for the Hugo static site generator. Hugo can use front-matter in TOML, YAML, or JSON. Of the three, JSON is the least recommended, but the most supported by Drafts.

It would be nice to have the TOML or YAML Javascript libraries included in Drafts by default. (Or even both.)

I would like to see js-yaml built-in. You can use node and webpack to bundle yaml with your script. It’s not bad once you figure it out though.

@dchar, do you have an example of that? I’m wrangling with that again.