Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

Escape Square Brackets in a label

0 votes
How can I escape a closing Square Bracket in the label of a connection? see below
Sender1  -up-> [↑ Curly works\n{M-3}] Receiver1
Sender2 -up-> [↑ Parenthesis\too\n(M1)] Receiver2
Sender3  -up-> [ ~[Square\nBrackets\ndoesn't ~] Receiver3
asked Aug 7 by costateixeira (230 points)

1 Answer

0 votes
Best answer


ou can escape char:

Sender1  -up-> [Curly works\n{M-3}] Receiver1
Sender2 -up-> [Parenthesis\ntoo\n(M1)] Receiver2
Sender3  -up-> [ [Square\nBrackets\ndoesn't ]] Receiver3
answered Aug 8 by Serge Wenger Work (4,770 points)
selected Aug 8 by costateixeira
Support This Project Offer 250 Mo! Follow PlantUML on Twitter