Search results
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.
To help you get started, we’ve selected a few gray-matter examples, based on popular ways it is used in public projects. Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
31 iul. 2020 · My code: I started by editing my .eleventy.js to enable gray-matter excerpt, per the above document, like so: module.exports = function(eleventyConfig) { eleventyConfig.addPlugin(pluginRss); eleventyConfig.addPlugin(pluginSyntaxHighlight); eleventyConfig.addPlugin(pluginNavigation); eleventyConfig.setDataDeepMerge(true);
api documentation for gray-matter (v2.1.1) 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.
11 apr. 2024 · An example directory tree may look like the following:. ├── .git ├── README.md ├── team-a │ ├── README.md │ ├── TUTORIAL.md │ ├── cue.mod │ │ ├── module.cue │ │ └── pkg │ ├── greymatter │ │ ├── core │ │ ├── globals.cue │ │ ├── grocerylist │ │ └── policies │ └── k8s ...
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 .
To help you get started, we’ve selected a few gray-matter examples, based on popular ways it is used in public projects. Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.