nkh / P5-App-Asciio

Plain ASCII diagram
https://nkh.github.io/P5-App-Asciio/
56 stars 4 forks source link

Document markup text #53

Closed nkh closed 1 year ago

qindapao commented 1 year ago

I found some imprecise places in the markup mode, mainly the ambiguity between regular expressions and arrow elements, Arrows are easily mistaken for marks.which also needs to be corrected.

I'll deal with it when the cross mode is over. Let's do it one by one.

nkh commented 1 year ago

Yes, everything in its time.

I have one r two ideas about markdown and object attributes, I think it would be a good idea to be ale to associate some attributes in elements that can be use later by exporters. I'll write them in this ticket for future discussion

from https://github.com/Twinside/asciidiagram

 +--------+         +--------+
 | Source +-------->| op1    |
 | {src}  |         \---+----/
 +--------+             |
            +-------*<--/
 +------+<--| op2   |
 | Dest |   +-------+
 |{dst} |
 +------+

::: .src .filled_shape { fill: #AAF; }
::: .dst .filled_shape { stroke: #FAA; stroke-width: 3px; } 

styleExample

qindapao commented 1 year ago

@nkh

https://github.com/qindapao/P5-App-Asciio/commit/7536df86ff8a8fa1e35b308f7736a86c42051015