gatsby-remark-sectionize

Gatsby plugin of remark-sectionize, which wrap content below each heading in a <section> element

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
gatsby-remark-sectionize
201.0.04 years ago4 years agoMinified + gzip package size for gatsby-remark-sectionize in KB

Readme

gatsby-remark-sectionize
This is a very simple wrapup of remark plugin remark-sectionize, so that it can be used in Gatsby directly.

Installation

yarn add --dev gatsby-transformer-remark gatsby-remark-sectionize

Configuration

In gatsby-config.js file, write the following:
{
  resolve: `gatsby-transformer-remark`,
  options: {
    plugins: [
      `gatsby-remark-sectionize`,
    ],
  },
}