See what's launched

The next gen Gatsby is here Performance, developer velocity, and scaling to meet Enterprise needs - See what’s launched

Sign Up for Free
Community Plugin
View plugin on GitHub

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

© 2022 Gatsby, Inc.