Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

Gatsby

Dracula Line Numbers Theme for Gatsby

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.


PRs are welcome :octocat:

© 2023 Gatsby, Inc.