PlantUML provides several html tags, but none renders text as code
My preferred tag would be <code></code>
(--------)
It's amazing that nobody has never requested this before !Thanks for your suggestion.With last beta http://beta.plantuml.net/plantuml.jar you can now have:
@startuml alice -> bob note left this is my note <code> main() { foo(); } </code> over end note @enduml
This is not widely tested, so any feedback is welcome!
Hello PlantUML team,
As:
<code>main(){ foo(); }</code>
[See on PlantUML server]
or:
<code>main(){ foo(); } </code>
<code> main(){ foo(); }</code>
Thanks for your support,
Regards,Th.