### Install MkDocs Draw.io File Plugin via Pip Source: https://github.com/onixpro/mkdocs-drawio-file/blob/main/README.md Install the `mkdocs-drawio-file` plugin using pip, the Python package installer, to add Draw.io diagram embedding capabilities to your MkDocs project. ```shell pip install mkdocs-drawio-file ``` -------------------------------- ### Configure Draw.io Plugin in mkdocs.yml Source: https://github.com/onixpro/mkdocs-drawio-file/blob/main/README.md Activate the `mkdocs-drawio-file` plugin by adding `drawio_file` to the `plugins` section of your `mkdocs.yml` configuration file. ```yaml plugins: - drawio_file ``` -------------------------------- ### Embed Draw.io Diagram using Markdown Syntax Source: https://github.com/onixpro/mkdocs-drawio-file/blob/main/example/docs/index.md This snippet illustrates the markdown syntax used to embed a draw.io diagram file. Although presented within a bash code block, it represents the raw markdown string that would render the diagram. ```bash ![test diagram](test.drawio) ``` -------------------------------- ### Embed Single-Page Draw.io Diagram Source: https://github.com/onixpro/mkdocs-drawio-file/blob/main/README.md Embed a single-page Draw.io diagram in MkDocs by referencing the `.drawio` file path directly within a Markdown image tag. ```markdown ![](my-diagram.drawio) ``` -------------------------------- ### Embed Multi-Page Draw.io Diagram with Alt Text Source: https://github.com/onixpro/mkdocs-drawio-file/blob/main/README.md Embed a specific page from a multi-page Draw.io diagram in MkDocs by using the Markdown image's alt text to specify the desired page name. ```markdown ![Page-2](my-diagram.drawio) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.