Mermaid
插件过滤器

Mermaid

filter_mermaidLukas Otero–Meledo

  • Moodle 1.9–5.1
  • 更新 2026-01-30

Plugin filter to create Mermaid diagrams from text ([Mermaid](http://mermaid.js.org/) format).
Plugin Filter Mermaid
Plugin filter to create Mermaid diagrams from text ( Mermaid format).
It uses Mermaid tool made by Knut Sveidqvist.
Complete syntax is available at http://mermaid.js.org/ .
This plugin is distributed under GNU GPL v3 license.
Use:
[mermaid]
sequenceDiagram
Alice ->> Bob: Hello Bob, how are you?
Bob–>>John: How about you John?
Bob–x Alice: I am good thanks!
Bob-x John: I am good thanks!
Note right of John: Bob thinks a long<br/>long time, so long<br/>that the text does<br/>not fit on a row.
Bob–>Alice: Checking with John…
Alice->John: Yes… John, how are you?
[/mermaid]
Attribution:
Thanks to Erwan Gallenne and his  DBconcept filter for the inspiration.

返回插件目录