Dracula line numbers theme for Gatsby
Dark line numbers theme for gatsby-remark-prismjs
.
Installation
npm install gatsby-line-numbers-dracula
import 'gatsby-line-numbers-dracula';
FAQ
- By default
gatsby-line-numbers-dracula
uses Sass. To switch to CSS version of the plugin add:
import 'gatsby-line-numbers-dracula/styles.css';
- 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 of gatsby-config.js
.
Related projects
PRs are welcome :octocat: