MkDocs plugin for embedding Draw.io (diagrams.net) diagrams in your documentation. It supports .drawio, .dio, and .drawio.svg files, with features like dark mode, custom toolbars, and page navigation. Current version: 1.15.0, actively maintained with regular releases.
pip install mkdocs-drawioVerified import paths — ran on the pinned version, not inferred.
Add the drawio plugin to your MkDocs configuration. Then place .drawio files in your docs directory and reference them with standard Markdown image syntax like ``.
Update to mkdocs-drawio >= 1.12.0.
Move .drawio files into your docs folder (or a subfolder).
Use `plugins: [drawio]` instead of `plugins: [drawio-file]`.
Add `dark_mode: true` under the drawio plugin configuration in mkdocs.yml.