plantuml / backlog

Contains all issues for plantuml that are not currently working-in-progress
0 stars 0 forks source link

<span> for sequence diagram messages #23

Open mgeorge opened 7 years ago

mgeorge commented 7 years ago

I often find myself doing things like:

@startuml
box "client"
participant a
end box

box "server"
participant b
end box

a --> b : <color black>     do stuff</color>
@enduml

The <color black> is there purely to allow me to push the text over a bit using spaces so it doesn't overlap the box. It would be nicer if we had something like a <span> that does not strip spaces for this purpose.

The-Lum commented 3 years ago

Hello @mgeorge,

A possible workaround is to use tabular \t:

@startuml
box "client"
participant a
end box

box "server"
participant b
end box

a --> b:\tdo stuff
@enduml

Regards.