<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:
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:
Receive updates about this theme and more about Dracula.
This theme wouldn't exist without these people. Wanna help too? Check the repository on GitHub.