<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">
- More info: https://unpkg.com
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.