Skip to content
This repository was archived by the owner on Jan 20, 2019. It is now read-only.

iamskok/gatsby-syntax-highlight-dracula

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Assumed you are using gatsby-sass and gatsby-remark-prismjs.
  2. npm install gatsby-syntax-highlight-dracula
  3. 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

About

Dracula syntax highlighting theme for Gatsby

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages