Join the dark sideBe the first to know about new products, special releases, and much more.
7,449 people enjoy it!Subscribe to the RSS Feed.
<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">
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');
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.