gray-matter icon indicating copy to clipboard operation
gray-matter copied to clipboard

Skip reading the content of the file once front matter is parsed

Open farskid opened this issue 2 years ago • 0 comments

Hi, thanks for the great library.

I was wondering if there is a way to configure gray-matter to skip reading large content of files with front matter once it found the front matter?

I'm dealing with large MDX files with significant amount of content which delay the load metrics. Happy to hear a work-around as well 🙏

farskid avatar Jan 05 '22 12:01 farskid