The next gen Gatsby is here Performance, developer velocity, and scaling to meet Enterprise needs - See what’s launched
A Gatsby remark plugin that will allows add label for code block
###Install
npm i -S gatsby-remark-prismjs-label
###Usage
Add to your gatsby-config.js:
gatsby-config.js
{ resolve: `gatsby-remark-prismjs-label`, options: { templateGenerator: (title) => { return `<p>${title}</p>` } } }