Search results
Parses YAML front matter by default, but also has support for YAML, JSON, TOML or Coffee Front-Matter, with options to set custom delimiters. Used by metalsmith, assemble, verb and . Latest version: 4.0.3, last published: 3 years ago.
30 lip 2013 · Use npm list -g to get all the globally installed npm packages. To get the npm packages of the current project then you can use "npm list" only.
Parse front-matter from a string or file. Fast, reliable and easy to use. Parses YAML front matter by default, but also has support for YAML, JSON, TOML or Coffee Front-Matter, with options to set custom delimiters.
gray-matter. Parse front-matter from a string or file. Fast, reliable and easy to use. Parses YAML front matter by default, but also has support for YAML, JSON, TOML or Coffee Front-Matter, with options to set custom delimiters. Used by metalsmith, assemble, verb and many other projects.
We're going to install gray-matter, which will help us parsing our Markdown and separating that front matter part, which has metadata from the actual Markdown that we need for rendering as HTML later on.
gray-matter. Parse front-matter from a string or file. Fast, reliable and easy to use. Parses YAML front matter by default, but also has support for YAML, JSON, TOML or Coffee Front-Matter, with options to set custom delimiters. Used by metalsmith, assemble, verb and many other projects.
Getting Started. Install packages needed to render MDX: Terminal. npm install @next/mdx @mdx-js/loader @mdx-js/react @types/mdx. Update the next.config.js file at your project's root to configure it to use MDX: next.config.js.