Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iamskok/gatsby-line-numbers-dracula
Dracula Line Numbers Theme 🦇
https://github.com/iamskok/gatsby-line-numbers-dracula
css gatsby gatsby-plugin gatsby-remark-prismjs gatsbyjs sass syntax-highlighting theme
Last synced: 26 days ago
JSON representation
Dracula Line Numbers Theme 🦇
- Host: GitHub
- URL: https://github.com/iamskok/gatsby-line-numbers-dracula
- Owner: iamskok
- Created: 2019-01-19T11:48:49.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T14:35:07.000Z (almost 2 years ago)
- Last Synced: 2024-10-09T12:42:45.912Z (about 1 month ago)
- Topics: css, gatsby, gatsby-plugin, gatsby-remark-prismjs, gatsbyjs, sass, syntax-highlighting, theme
- Language: CSS
- Homepage:
- Size: 163 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Dracula Line Numbers Theme for GatsbyDark line numbers theme for [`gatsby-remark-prismjs`](https://www.gatsbyjs.org/packages/gatsby-remark-prismj).
## Installation
```bash
npm install gatsby-line-numbers-dracula
``````js
// `gatsby-browser.js`
import 'gatsby-line-numbers-dracula';
```## Options
To show line numbers add `{showLineNumbers: true}` in the code block, like [this](https://www.gatsbyjs.org/packages/gatsby-remark-prismjs/#line-numbering) or set them globally by adding `showLineNumbers: true` in `gatsby-remark-prismjs` [options](https://www.gatsbyjs.org/packages/gatsby-remark-prismjs/#how-to-use).
## Related projects
* [gatsby-prismjs-dracula-theme](https://github.com/iamskok/gatsby-prismjs-dracula-theme)
* [gatsby-line-hightlights-dracula](https://github.com/iamskok/gatsby-line-hightlights-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-numbers-dracula/fork) :octocat: