Prism

Dracula

Dark theme for Prism and 271+ apps

StarFork

Prism Theme Preview

3,142 views

Prism

Using directly from the UNPKG CDN

<link rel="stylesheet" href="https://unpkg.com/dracula-prism/dist/css/dracula-prism.css">

Or the minified file:

<link rel="stylesheet" href="https://unpkg.com/dracula-prism/dist/css/dracula-prism.min.css">

With Node or another build system

You can install with the command npm i dracula-prism which comes ready with Prismjs installed.

If you're using Node or Webpack or Rollup or Browserify, etc., simply apply:

require('dracula-prism');

For React and ReactJS users

You can import simply two libraries:

import Prism from "prism";
import "css/dracula-prism.css";

You can get the sample React code for a website or the sample JSX code:

Stay up to date

Get updates about this theme and more. 5,986 people enjoy it.

Contributors

This theme wouldn't exist without these people. Wanna help too? Check the repository on GitHub.

  • gusbemacbe
  • AurelienLourot
  • dependabot[bot]
  • jonleopard
  • Vestride
  • altano
  • jefrydco
  • luxonauta
  • zenorocha
Edit this documentation on GitHub.

Made with by Zeno Rocha
under MIT license