Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/iamskok/gatsby-line-highlights-dracula

Dracula Line Highlights Theme 🦇
https://github.com/iamskok/gatsby-line-highlights-dracula

css gatsby gatsby-plugin gatsby-remark-prismjs gatsbyjs sass syntax-highlighting theme

Last synced: about 1 month ago
JSON representation

Dracula Line Highlights Theme 🦇

Awesome Lists containing this project

README

        



Gatsby



Dracula line highlights theme for Gatsby



Gatsby


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

## FAQ

* By default `gatsby-line-highlights-dracula` uses [Sass](https://sass-lang.com/). To switch to CSS version of the plugin add:

```js
// gatsby-browser.js
import 'gatsby-line-highlights-dracula/styles.css';
```

* 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: