$npx skillfedfor your agent

mkdocs-drawio

MkDocs plugin for embedding Drawio files

Worth itPyPI DocumentationReleased Jul 2026160.1K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — mkdocs_drawio-1.16.3-py3-none-any.whl
v1.16.3 · released 2026-07-25 · Python <4.0,>=3.9 · 6 runtime deps: requests, jinja2, beautifulsoup4, lxml, mkdocs, pypng

Yes. The plugin is actively maintained, has no known vulnerabilities, installs with low friction, and solves a real problem for documentation sites that need interactive diagrams. MIT licensing removes legal friction. Install it if your MkDocs project needs embedded Drawio diagrams; the dependency footprint is small and the setup is straightforward.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or newer and an active MkDocs project with mkdocs.yml configuration.
  • Low friction installation as a pure Python wheel.
  • Actively maintained with a recent release; repository shows 46 stars and was last updated 2026-07-25.

License · maintenance · safety

MIT (permissive) — MIT license is permissive, allowing use in commercial and private projects with minimal restrictions.

last release 2026-07-25 (20 days) · last repo commit 2026-07-25 · 46 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 160,093 downloads/mo, #10,673 on PyPI

Verify before relying

pip install mkdocs-drawio

Then add to mkdocs.yml:
plugins:
  - drawio

In markdown:
![My Diagram](diagram.drawio)
![Page 2](diagram.drawio){ page="Page-2" }
  • Whether the plugin works with all MkDocs themes or only specific ones (Material theme integration is documented, but compatibility with others is unclear).
  • Performance impact when embedding many diagrams or large .drawio files in a single documentation site.
Same gist for agents: .md · .json

What it is and what it does

mkdocs-drawio is a MkDocs plugin that transforms .drawio image references in your markdown into interactive, embedded diagram viewers. Instead of static image files, your documentation displays live Drawio diagrams that readers can zoom, pan, interact with, and optionally open in the full editor. The plugin hooks into MkDocs' post-page generation event, scans for .drawio image tags, and replaces them with mxgraph HTML blocks that render the diagram content inline.

The plugin supports multi-page diagrams (selecting specific pages via markdown attributes), custom viewer URLs for air-gapped environments, and integrates with Material theme's instant-loading feature. It depends on requests, jinja2, beautifulsoup4, lxml, and pypng to parse and transform the generated HTML. Configuration options control toolbar visibility, dark mode, lightbox behavior, and diagram interactivity.

Use it for

  • Embed architecture diagrams, flowcharts, or UX wireframes directly in API or technical documentation so readers can interact without downloading files.
  • Create multi-page diagram documents where different pages show different views of the same system, selectable within the documentation.
  • Set up documentation in air-gapped environments by self-hosting the Drawio viewer JavaScript and configuring a custom viewer URL.
  • Enable live diagram editing within documentation sites by toggling the edit option, allowing readers to modify and explore diagrams interactively.
  • Integrate diagrams into tabbed documentation layouts using pymdownx.tabbed with the provided JavaScript workaround.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The plugin is actively maintained, has no known vulnerabilities, installs with low friction, and solves a real problem for documentation sites that need interactive diagrams. MIT licensing removes legal friction. Install it if your MkDocs project needs embedded Drawio diagrams; the dependency footprint is small and the setup is straightforward.

Install

mkdocs-drawio on PyPI

Before you install

Low friction installation as a pure Python wheel. Actively maintained with a recent release; repository shows 46 stars and was last updated 2026-07-25. Requires Python 3.9 or newer and depends on common, well-established packages (requests, jinja2, beautifulsoup4, lxml, mkdocs, pypng).

Requires Python 3.9 or newer and an active MkDocs project with mkdocs.yml configuration.

License in practice

MIT license is permissive, allowing use in commercial and private projects with minimal restrictions.

Quickstart

pip install mkdocs-drawio

Then add to mkdocs.yml:
plugins:
  - drawio

In markdown:
![My Diagram](diagram.drawio)
![Page 2](diagram.drawio){ page="Page-2" }

Verify before relying

  • Whether the plugin works with all MkDocs themes or only specific ones (Material theme integration is documented, but compatibility with others is unclear).
  • Performance impact when embedding many diagrams or large .drawio files in a single documentation site.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0,>=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
6 packages
requestsjinja2beautifulsoup4lxmlmkdocspypng
MaintenanceActively maintained 20 days since the last release
Last repo commit
First released
Downloads160,093 / month, #10,673 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: mkdocs_drawio-1.16.3-py3-none-any.whl

Tags

Capabilities
mkdocs diagram embeddingdrawio markdown plugininteractive diagrams documentationmkdocs visualization pluginembed drawio filesdiagram viewer markdown
Topics
mkdocs-plugindiagram-embedding
PyPI keywords
mkdocspluginmarkdowndrawio

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “mkdocs diagram embedding”

Give your agent the search over MCP, or paste the wish link into any chat.

More Documentation packages

docutils With conditions
PyPI · Software Development · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo
Sphinx Worth it
PyPI · Software Development · released Dec 2025

Sphinx generates professional documentation from reStructuredText source files, producing HTML, PDF, EPUB, and other formats with automatic cross-references, code highlighting, and hierarchical navigation.

BSD-2-Clausepure Python · 3.12+
91.8Mdownloads / mo
griffe Worth it
PyPI · Software Development · released Jun 2026

Griffe extracts the complete structure and signatures of Python programs to generate API documentation or detect breaking changes in your project's public API.

Install it if you need to programmatically inspect Python code structure, generate API docs, or enforce API stability in CI.

ISCpure Python · 3.10+
32.4Mdownloads / mo
sphinxcontrib-serializinghtml With conditions
PyPI · Utilities · released Jul 2024

A Sphinx extension that outputs documentation in serialized HTML formats (JSON and pickle) alongside standard HTML.

BSD-3-Clausepure Python · 3.9+dormant
30.5Mdownloads / mo
alabaster Worth it
PyPI · Documentation · released Jul 2024

Alabaster is a clean, responsive Sphinx theme for documentation that requires Python 3.10 or newer and Sphinx 6.2 or newer.

BSD-3-Clausepure Python · 3.10+dormant
30.4Mdownloads / mo
sphinxcontrib-htmlhelp With conditions
PyPI · Utilities · released Jul 2024

A Sphinx extension that generates HTML help files from reStructuredText documentation source.

BSD-3-Clausepure Python · 3.9+dormant
27.7Mdownloads / mo

See also mkdocs-glightbox · mkdocs-kroki-plugin · mkdocs-mermaid2-plugin · sphinxcontrib-drawio · mkdocs-panzoom-plugin · mkdocs-video · mkdocs-render-swagger-plugin · neoteroi-mkdocs · mkdocs-plugin-inline-svg · mkdocs-material-extensions