Community Plugin
View plugin on GitHub
Dracula Line Numbers Theme for Gatsby
Dark line numbers theme for gatsby-remark-prismjs
.
Installation
npm install gatsby-line-numbers-dracula
// `gatsby-browser.js`
import 'gatsby-line-numbers-dracula';
Options
To show line numbers add {showLineNumbers: true}
in the code block, like this or set them globally by adding showLineNumbers: true
in gatsby-remark-prismjs
options.
Related projects
- gatsby-prismjs-dracula-theme
- gatsby-line-hightlights-dracula
- gatsby-syntax-highlights-dracula
- gatsby-code-buttons-dracula
- gatsby-code-titles-dracula
PRs are welcome :octocat: