Dracula Icon

Prism

Dracula Theme for Prism
prism - Theme Preview

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.