jonschlinkert / gray-matter

Smarter YAML front matter parser, used by metalsmith, Gatsby, Netlify, Assemble, mapbox-gl, phenomic, vuejs vitepress, TinaCMS, Shopify Polaris, Ant Design, Astro, hashicorp, garden, slidev, saber, sourcegraph, and many others. Simple to use, and battle tested. Parses YAML by default but can also parse JSON Front Matter, Coffee Front Matter, TOML Front Matter, and has support for custom parsers. Please follow gray-matter's author: https://github.com/jonschlinkert

Home Page:https://github.com/jonschlinkert

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add dumper option to stringify to define a custom dumper.

zachwhaley opened this issue · comments

Similar to how you can define a parser to parse the yaml front-matter, I'd like to be able to define a dumper as well to dump the yaml front-matter.

this is planned for the next version. thanks

Missed the open issue 😛

Duplicate of #33

thanks, forgot about that!