JSPM

gatsby-line-numbers-dracula

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q47682F
  • License ISC

Dracula line numbers theme for Gatsby

Package Exports

  • gatsby-line-numbers-dracula

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gatsby-line-numbers-dracula) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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';

FAQ

  • By default gatsby-line-numbers-dracula uses Sass. To switch to CSS version of the plugin add:
// gatsby-browser.js
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.

PRs are welcome :octocat: