mkdocs-plugin-mermaid

A MkDocs plugin that render mermaid graph to mermaid style

Installation

Install the package with pip:

pip install mkdocs-plugin-mermaid

Usage

Enable this plugin in your mkdocs.yml:

plugins:
    - markdownmermaid

extra_javascript:
    - https://unpkg.com/mermaid@7.1.2/dist/mermaid.min.js

Note: Don't forget to include the mermaid.min.js (local or remotely) in your mkdocs.yml

More information about plugins in the MkDocs documentation