If you are a git user, you can install the theme and keep up to date by cloning the repo:
git clone https://github.com/dracula/marp.git
Download using the GitHub .zip download option and unzip them.
- Add the
Dracula.css
file located in the Dracula directory to your marp project. - Once added it can be referenced from a marp source file by adding
theme: dracula
to the header. - When using the marp-cli you must specify the theme you are using, to do so add
--theme dracula.css
to your command.
marp --theme ./dracula/dracula.css ./dracula/slides.md -o Dracula-1.0.0.pdf