Please provide <plain> </plain> tags that can remove text formatting

+1 vote
asked Dec 8, 2016 in Closed feature request by eicke (180 points)

Please provide <plain> </plain> tags that can remove text formatting, so one could remove formatting from class names, for example.

1 Answer

0 votes
answered Dec 8, 2016 by Serge Wenger Work (15,810 points)
selected Jul 7, 2018 by Anthony-Gaudino
 
Best answer

The last beta https://dl.dropboxusercontent.com/u/13064071/plantuml.jar
supports:

@startuml
skinparam classFontStyle bold
enum BookCategory as "<color:#888888><plain>Enumeration</plain></color>\nBookCategory"
@enduml

However, very few tests have been done, so please post here if you find issues with this new syntax.

commented Dec 9, 2016 by eicke (180 points)
Perfectly. Awesome response time ;-)
commented Nov 29, 2024 by lubo
Is there an intention to only remove formatting which is provided "outside", or it should also serve as "pre" tag? I am trying to insert some sample fixed line file format into a note and unfortunately empty character in that format is "-". So when I insert such a text, I got some text stroked through and some hyphens removed. "plain" tag doe not solve my issue.

I have found solution for my case. I can use "<code>" tag to do what I need.
...