Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

routify-plugin-frontmatter

jakobrosenberg66ISC1.0.1

In your config or package.json insert

readme

Usage

In your config or package.json insert

  "routify": {
    "plugins":
      {
        "routify-plugin-frontmatter": {}
      }
  }

Frontmatter metadata can be found in meta.frontmatter of the respective file.

To change default extensions (md and svx) "routify-plugin-frontmatter": { "extensions": ["md"] }

Note

This plugin does not strip frontmatter from your file. It only reads it and adds it to your metadata.