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
JavaScriptMIT
Issues
- 1
- 1
Library is not compatible with Edge runtime
#175 opened by bmamouri - 8
ReferenceError: Buffer is not defined
#143 opened by tomatobybike - 3
grey-matter does not import as a function when using import statements
#171 opened by requestforcriticism - 0
`.matter` is not cached properly
#174 opened by nwhitehead - 1
- 0
Reference issue
#173 opened by viethung0823 - 0
Can't parse datetime format
#142 opened by tfsomrat - 4
- 5
The `excerpt` function option should be a function that returns a string, but it isn't
#170 opened by loqusion - 0
Expose `YAMLException` from `js-yaml`
#169 opened by andreww2012 - 2
- 4
todo: switch yaml libraries
#114 opened by jonschlinkert - 1
- 0
Invalid front-matter should not be cached
#166 opened by Fil - 3
Typescript Import
#105 opened by fireflysemantics - 2
apostrophe in frontmatter
#141 opened by codewithbugs01 - 1
- 0
android app issues
#165 opened by Khanbaba302 - 2
gray-matter seems to be broken in Next 13
#162 opened by AnanyaGB - 0
Image for sponsorships
#164 opened by jonschlinkert - 0
Add Superscript Support
#163 opened by SeloSlav - 0
`file.isEmpty` is not documented in typings
#160 opened by EndBug - 0
Some kind of unwanted caching behaviour?
#159 opened by james-tindal - 1
- 2
Add support for async excerpt functions?
#156 opened by pdehaan - 1
Security consideration: disable JS engine by default to prevent RCEs in dependents
#131 opened by simonhaenisch - 3
- 0
Can't get values of double-nested entries
#149 opened by jordanlambrecht - 0
typescript issues - is this package deprecated?
#144 opened by pavlexander - 1
Max Integer Size
#139 opened by symbiosdotwiki - 1
Update to js-yaml 4.1.0 (was 3.13.0)
#136 opened by pelleknaap - 1
Typings issue when passing js-yaml options
#107 opened by sinedied - 2
Phantom dependencies usage for 'buffer'
#134 opened by EscapeB - 2
Stale cache item is returned if matter(...) is subsequently called with the same "content", but different "data" (i.e. front matter)
#129 opened by MikeM2343 - 1
- 2
No mention of cache
#106 opened by buckle2000 - 0
hope can have function for create reuse parser
#128 opened by bluelovers - 1
Excerpt type definition seems wrong
#125 opened by wkirby - 2
- 0
- 0
giving the frontmatter start and end line number
#116 opened by HomyeeKing - 2
Is there a max size for a graymatter line?
#115 opened by JeremieLitzler - 0
Document sections feature
#113 opened by lostfictions - 4
Use of eval is strongly discouraged
#112 opened by autoferrit - 1
Pass Data in matter() Option
#110 opened by pxwee5 - 2
Get the number of line of front-matter
#108 opened by wdavidw - 1
- 0
Matter instance for global settings. Also, engine.yaml.parse should be optional.
#102 opened by patarapolw - 3
How to use async or Promise.then()
#101 opened by josineto