Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

gatsby-remark-codeset

Adds syntax to parse sets of code blocks in markdown. Transforms them to tablist.

Install

npm install --save gatsby-transformer-remark gatsby-remark-codeset

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: `gatsby-transformer-remark`,
    options: {
      plugins: [
        `gatsby-remark-codeset`,
        // attention: if you use primjs, put codeset before it.
        // `gatsby-remark-prismjs`
      ],
    },
  },
]
© 2023 Gatsby, Inc.