Changes between Version 2 and Version 3 of MermaidMacro
- Timestamp:
- Jul 3, 2016, 11:37:44 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MermaidMacro
v2 v3 5 5 == Description 6 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.7 With this macro, you can render mermaid diagrams in Trac wiki pages. [https://knsv.github.io/mermaid mermaid] is a JavaScript library that can render sequence diagrams, flowcharts and Gantt charts from text in a similar manner as markdown. The library itself is MIT licensed. 8 9 [[Image(mermaid_demo.png)]] 10 10 11 11 Current version of this macro uses mermaid version 0.5.1. 12 13 == Example ==14 15 {{{16 {{{#!Mermaid17 sequenceDiagram18 A->> B: Query19 B->> C: Forward query20 Note right of C: Thinking...21 C->> B: Response22 B->> A: Forward response23 }}}24 }}}25 26 12 27 13 == !Bugs/Feature Requests … … 47 33 General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. 48 34 35 == Example 36 37 {{{ 38 {{{#!Mermaid 39 sequenceDiagram 40 A->> B: Query 41 B->> C: Forward query 42 Note right of C: Thinking... 43 C->> B: Response 44 B->> A: Forward response 45 }}} 46 }}} 47 48 This yields the following diagram on the page: 49 50 [[Image(mermaid_example.png)]] 51 49 52 == Recent Changes 50 53