Skip to content

Dracula Theme for MkDocs


To implement Dracula theme, do the following:

cd docs
mkdir theme
cd theme
mkdir assets
cd assets

Navigate to the mkdocs_pymdownx_material_extras repo and download the following files:

Replace the current fields in mkdocs.yml with the following:

    scheme: dracula
    primary: deep purple
    accent: deep purple
custom_dir: <theme root directory>
    - mkdocs_pymdownx_material_extras

Add mkdocs_pymdownx_material_extras>=1.0 to requirements.txt

Run mkdocs serve to confirm the theme works. Once confirmed, run git commit to push to Cloudflare Pages (CI/CD).