Excalidraw drawings in mkdocs
Project description
Mkdocs Excalidraw
✨ A simple mkdocs plugin to easily embed your excalidraw drawings into your docs
See it in action here
Features
- Embed your drawings as you would an image by converting your excalidraw drawings to svg on the fly
- Dark mode compatibility for mkdocs and mkdocs-material themes
- Lightbox support when used with mkdocs-glightbox (fullscreen on click)
Installation
Install the package
pip install mkdocs-excalidraw
Add it to your mkdocs.yaml
site_name: MkDocs Excalidraw
plugins:
- excalidraw
- glightbox # if you want lightbox (see below)
Usage
You can use this project's docs as an example , lets break down how we do it.
- Create an excalidraw drawing and save the file (I recommend using the vscode extension)
- Add a reference to it in your markdown file as you would for an image

- Thats it , the extension renders it as an svg in your browser
Add Lightbox (Click to open fullscreen)
Simply install and setup mkdocs-glightbox as descibed here
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mkdocs_excalidraw-0.4.1.tar.gz.
File metadata
- Download URL: mkdocs_excalidraw-0.4.1.tar.gz
- Upload date:
- Size: 2.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.12.11 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
064146adc58dc0148419d9eb0772ba0eb3f0fbce373344d40fdb31226d736ce6
|
|
| MD5 |
2d3f54300de4a4124f12a1528104f3bf
|
|
| BLAKE2b-256 |
aa7a369c843261e4d3b286f11c176cfb516e3b958b21ba485fe3faea50036afb
|
File details
Details for the file mkdocs_excalidraw-0.4.1-py3-none-any.whl.
File metadata
- Download URL: mkdocs_excalidraw-0.4.1-py3-none-any.whl
- Upload date:
- Size: 2.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.12.11 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7455154847763279dbb9bf1e7aece2c718688c894310ec22bc6b40de3bceaa12
|
|
| MD5 |
169a7cf2099e5bd4671920633834b628
|
|
| BLAKE2b-256 |
711401dc15e309065cfa531be8dc7a097aa4a70f013ee7ebf179d7280bf1b9bf
|