We now support mermaid-js diagramming. Whenver you want to express something using a diagram, there is an easy way to do it!
The only thing you need is to enclose the diagram definition in [mermaid] .. [/mermaid]
block.
Example
Including this into your post
[mermaid]
stateDiagram-v2
[*] --> Still
Still --> [*]
Still --> Moving
Moving --> Still
Moving --> Crash
Crash --> [*]
[/mermaid]
will result in this diagram:
stateDiagram-v2
[*] --> Still
Still --> [*]
Still --> Moving
Moving --> Still
Moving --> Crash
Crash --> [*]
See more diagram examples at mermaid-js.