-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Description
The Textual UML Diagrams draws simple SVG UML chart diagram from textual representation of the diagram. take the flow chart for example,
In the markdown editor such as issue comments and wiki pages typed the below textual code,
st=>start: Start
e=>end: End
op1=>operation: My Operation
sub1=>subroutine: My Subroutine
cond=>condition: Yes or No?
io=>inputoutput: catch something...
st->op1->cond
cond(yes)->io->e
cond(no)->sub1(right)->op1
then they would be rendered as a simple SVG flow chart diagram when the page showed up
It's cooool feature! I could post UML diagrams to project wiki without any image reference if gogs was able to support it. Currently I had to setup an external images website to provide image links for gogs wiki.
The feature can be introduced as plugins into gogs, see below reference for details,
sequence: Turns text into UML sequence diagrams
flowchart: Draws simple SVG flow chart diagrams from textual representation of the diagram
mermaid: A simple markdown-like script language for generating charts from text via javascript
I am using Typora as off-line markdown editor which already supports this feature, and now I was expecting to post its output completely to gogs wiki if gogs supported as well.
Thanks a lot for team! Thanks for your good job!
