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
GrayMatter is giving me the output for a previous input instead of the actual input. This Codesandbox behaves normally
Output:
{ markmap: { coloring: 'single' }
However, if I copy and paste the same code into my Electron console,
So far, I can't replicate this in a simpler form.
If I change one character in the input string, it returns a normal answer.