npm

Need private packages and team management tools?Check out npm Orgs. »

prismjs-darcula-theme

1.0.0 • Public • Published

PrismJS Darcula Theme

A syntax highlighting theme for PrismJS based on the Darcula theme from the JetBrains IDEs.

Examples

Check out the examples on GitHub pages for:

  • JavaScript
  • HTML
  • Java
  • CSS
  • JSON
  • YAML

Usage

Gatsby

This theme can be used in Gatsby with gatsby-remark-prismjs. Simply install the package using:

npm install prismjs-darcula-theme

And add this line in gatsby-browser.js:

import 'prismjs-darcula-theme/darcula.css';

Alternatively, if you're using gatsby-plugin-sass you can use the original SCSS:

import 'prismjs-darcula-theme/darcula.scss';

Development

Run npm run docs:watch to watch darcula.scss for file changes, compiling it to docs/darcula.css. To compile the file without watching for changes, use npm run docs. Open docs/index.html in your browser to view the results.

install

npm i prismjs-darcula-theme

Downloadsweekly downloads

7

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability