Editor-authored URL routing that maps collections to path patterns and links
Mermaid
Adds Mermaid diagram blocks to rich text with server-rendered SVG output
Installation
pnpm add payload-plugin-mermaid About
Mermaid adds a diagram block to the rich text editor in Payload, so editors can write Mermaid source and see a live preview while they work. The diagram is drawn on the server and sent to visitors as SVG, so the page does not load any diagram rendering script in the browser.
The block also has a button that opens the current source in the Mermaid Live Editor for further changes. Flowchart, sequence, class, state, entity relationship, xy chart and pie diagrams are supported. Gantt, journey, git graph and mindmap diagrams are not rendered and show their raw source instead.
Package info
- Package name
payload-plugin-mermaid- Latest version
2.0.0- Unpacked size
- 51 kB
- License
- MIT
- Weekly downloads
- 59
- Last publish
- Oct 25, 2026
Similar plugins
More in EditorAdds AI text, translation, image and voice generation to Payload fields and the editor
Adds AI text, image and voice generation and translation to Payload editors
Translates Payload documents into other locales with LibreTranslate in the background
Code-defined transactional emails with admin-editable copy, test sends and a send log
Inline comment threads on rich text passages in the Payload admin panel