Skip to main content
View plugin on GitHub
See starters using this

gatsby-remark-slug

Add slug id to h1~h6 elements.

Install

npm install --save gatsby-remark-slug

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: `gatsby-transformer-remark`,
    options: {
      plugins: [`gatsby-remark-slug`],
    },
  },
]

Options

TBD.

Reference


Docs
Tutorials
Plugins
Blog
Showcase