gatsby-remark-prismjs-label
v1.0.4
Published
A Gatsby remark plugin that will allows add label for code block
Downloads
1
Maintainers
Readme
gatsby-remark-prismjs-label
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
:
{
resolve: `gatsby-remark-prismjs-label`,
options: {
templateGenerator: (title) => { return `<p>${title}</p>` }
}
}