NEW RELEASE:

Centralized data layer for multiple content sources or frameworks. Dive deep into Valhalla

ContactSign 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.