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-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`
      ],
    },
  },
]
© 2022 Gatsby, Inc.