All plugins

Mermaid

Render Mermaid.js diagrams from fenced code blocks.

Built-in @docmd/plugin-mermaid

Overview

Parses ```mermaid blocks during markdown rendering and emits responsive SVG diagrams. Supports flowcharts, sequence diagrams, class diagrams, state diagrams, ER diagrams, and Git graphs.

Installation

# Mermaid ships with docmd — nothing to install. docmd build

This plugin is built into docmd — nothing to install.

Permissions

Runtime behaviour of this plugin during a build:

CapabilityUsed
Reads project filesYes
Writes to site/No
Network requestsNo
Runs subprocessNo

Capabilities

docmd hooks this plugin registers:

markdown assets

Tags

diagramsmermaidmarkdown