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
Installation
pip install mkdocs-excalidraw
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
Issues
As you can see here are two issues with the current implementations:
- The font is not correct
- Text is not properly aligned
Both these issues have been noticed by excalidraw creators and should be fixed in the next release. I will update this plugin with the new version when it will come out.
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.3.3.tar.gz.
File metadata
- Download URL: mkdocs_excalidraw-0.3.3.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.12.11 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d60b81c3974f01fcab9f2f7a11b3e6812e2ab419f3d247992883ea712ecec66
|
|
| MD5 |
3b0066bd3191c71dd12115546821c521
|
|
| BLAKE2b-256 |
8f57cfd9f03c642c740dad89148238f276e363a59906ad94d68ff498f4e25ef3
|
File details
Details for the file mkdocs_excalidraw-0.3.3-py3-none-any.whl.
File metadata
- Download URL: mkdocs_excalidraw-0.3.3-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.12.11 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2c8a3feceaae63281395a98a23992b4ab13b75b0a19befcebb75c270a4de922
|
|
| MD5 |
bab9f5fb5a0ea6d343285d2a6cac7c0d
|
|
| BLAKE2b-256 |
002792665b1cfa5fff49d63f4d7b9537ad31e338f96e4663a0311202b4b2920c
|