Why only YAML support ?
Frontmatter can be written in YAML, TOML, JSON and more Mostly all frontmatter packages including this one only support YAML.
Are there any plans on extending this package ?
Yeah, this is a good point.
It wouldn't be too big of a change to remove the actual parsing from this lib. Then any parser could be used on the extracted front-matter and this package wouldn't need to track updates to the yaml parser dep.
On Mon, Aug 15, 2022 at 1:25 PM yonnic @.***> wrote:
Frontmatter can be written in YAML, TOML, JSON and more Mostly all frontmatter including this one only support YAML.
Are there any plans on extending this package ?
— Reply to this email directly, view it on GitHub https://github.com/jxson/front-matter/issues/87, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAACV4MAK4T5WUWHRJ2V6YDVZKRSLANCNFSM56TMGJLQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
https://github.com/jonschlinkert/gray-matter may help...