| 1 | [[PageOutline(2-5,Contents,pullout)]] |
| 2 | |
| 3 | = Render mermaid diagrams in wiki pages |
| 4 | |
| 5 | == Description |
| 6 | |
| 7 | With this macro, you can render mermaid diagrams in wiki pages. |
| 8 | |
| 9 | [https://knsv.github.io/mermaid mermaid] is a JavaScript library that can render diagrams and flowcharts from text in a similar manner as markdown. |
| 10 | |
| 11 | == Example == |
| 12 | |
| 13 | {{{ |
| 14 | {{{#!Mermaid |
| 15 | sequenceDiagram |
| 16 | A->> B: Query |
| 17 | B->> C: Forward query |
| 18 | Note right of C: Thinking... |
| 19 | C->> B: Response |
| 20 | B->> A: Forward response |
| 21 | }}} |
| 22 | }}} |
| 23 | |
| 24 | |
| 25 | == !Bugs/Feature Requests |
| 26 | |
| 27 | Existing bugs and feature requests for MermaidMacro are |
| 28 | [report:9?COMPONENT=MermaidMacro here]. |
| 29 | |
| 30 | If you have any issues, create a |
| 31 | [/newticket?component=MermaidMacro new ticket]. |
| 32 | |
| 33 | [[TicketQuery(component=MermaidMacro&group=type,format=progress)]] |
| 34 | |
| 35 | == Download |
| 36 | |
| 37 | Download the zipped source from [export:mermaidmacro here]. |
| 38 | |
| 39 | == Source |
| 40 | |
| 41 | You can check out MermaidMacro from [/svn/mermaidmacro here] using Subversion, or [source:mermaidmacro browse the source] with Trac. |
| 42 | |
| 43 | == Installation |
| 44 | |
| 45 | General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. |
| 46 | |
| 47 | == Recent Changes |
| 48 | |
| 49 | [[ChangeLog(mermaidmacro, 3)]] |
| 50 | |
| 51 | == !Author/Contributors |
| 52 | |
| 53 | **Author:** [wiki:tkob-trac] [[BR]] |
| 54 | **Maintainer:** [[Maintainer]] [[BR]] |
| 55 | **Contributors:** |