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
https://github.com/jonschlinkert
MIT License
3.97k stars 138 forks source link

Add dumper option to stringify to define a custom dumper. #39

Closed zachwhaley closed 7 years ago

zachwhaley commented 7 years ago

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.

jonschlinkert commented 7 years ago

this is planned for the next version. thanks

zachwhaley commented 7 years ago

Missed the open issue :stuck_out_tongue:

Duplicate of #33

jonschlinkert commented 7 years ago

thanks, forgot about that!