Socket
Book a DemoInstallSign in
Socket

gatsby-syntax-highlight-dracula

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-syntax-highlight-dracula

Dracula syntax highlighting theme for Gatsby

0.1.2
latest
Source
npmnpm
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

Gatsby

Dracula syntax highlighting theme for Gatsby

Gatsby

Dark syntax highliting theme for gatsby-remark-prismjs plugin with pre-configured line numbers and line highlights.

Installation

  • Assumed you are using gatsby-sass and gatsby-remark-prismjs.
  • npm install gatsby-syntax-highlight-dracula
  • import gatsby-syntax-highlight-dracula in gatsby-browser.js.
  • In order to show line numbers add showLineNumbers: true in gatsby-remark-prismjs config.
  • If you don't use gatsby-plugin-sass then you have to import gatsby-syntax-highlight-dracula/lib/styles.css in gatsby-browser.js for step #3.

Screenshots

CSS

CSS

Inline code

Inline code

Line highlight

Line highlight

Code Selection

Code selection

Keywords

gatsby

FAQs

Package last updated on 17 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.