Skip to content

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

License

Notifications You must be signed in to change notification settings

pecheneg2015/gatsby-remark-prismjs-label

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>` }
            }
    }

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published