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-prismjs-label

A Gatsby remark plugin that will allows add label for code block demo

###Install

npm i -S gatsby-remark-prismjs-label

###Usage

Add to your gatsby-config.js:

    {
        resolve: `gatsby-remark-prismjs-label`,
        options: {
              templateGenerator: (title) => { return `<p>${title}</p>` }
            }
    }
© 2022 Gatsby, Inc.