Creole line breaks "\\" is not working in State diagram.

0 votes
asked May 31, 2019 in Question / help by murakami (160 points)

Creole line breaks "\\" is not working in State diagram.
I’d like to confirm just in case; Do you have no choice but to use "\n"?
e.g.

    @startuml
    [*] --> State1
    State1 --> [*]
    State1 : this \\is a string
    State1 : this \\is another string

    note left
    this \\is \\note
    end note
    @enduml

Creole 1.0
http://www.wikicreole.org/wiki/Creole1.0

Thank you.

1 Answer

0 votes
answered Jun 5, 2019 by plantuml (294,960 points)
selected Jun 6, 2019 by murakami
 
Best answer
You are right : we don't fully follow Creole specification here.

However, \n looks more obvious to people, so we'd like to stick to that.

Is it an issue for you ?
commented Jun 6, 2019 by murakami (160 points)
Thank you for your reply.
No issue, I thought wrong that it's "all" possible to use creole formatting.
...