UNPKG

gatsby-line-highlights-dracula

Version:
45 lines (32 loc) 1.36 kB
<a href="https://gatsbyjs.org"> <p align="center"> <img alt="Gatsby" src="https://www.gatsbyjs.org/monogram.svg" width="120" /> </p> </a> <h1 align="center"> Dracula Line Highlights Theme for Gatsby </h1> <a href="https://draculatheme.com"> <p align="center"> <img alt="Gatsby" src="https://draculatheme.com/assets/img/dracula.gif" width="350" /> </p> </a> Dark line highlights theme for [`gatsby-remark-prismjs`](https://www.gatsbyjs.org/packages/gatsby-remark-prismj). ## Installation ```bash npm install gatsby-line-highlights-dracula ``` ```js // `gatsby-browser.js` import 'gatsby-line-highlights-dracula'; ``` ## Options To show line highlights refer to `gatsby-remark-prismjs` [examples](https://www.gatsbyjs.org/packages/gatsby-remark-prismjs/#line-highlighting). ## Related projects * [gatsby-prismjs-dracula-theme](https://github.com/iamskok/gatsby-prismjs-dracula-theme) * [gatsby-line-numbers-dracula](https://github.com/iamskok/gatsby-line-numbers-dracula) * [gatsby-syntax-highlights-dracula](https://github.com/iamskok/gatsby-syntax-highlights-dracula) * [gatsby-code-buttons-dracula](https://github.com/iamskok/gatsby-code-buttons-dracula) * [gatsby-code-titles-dracula](https://github.com/iamskok/gatsby-remark-code-titles) --- [PRs are welcome](https://github.com/iamskok/gatsby-line-highlights-dracula/fork) :octocat: