News for hackers. Stuff that matters.
Re:D2 is now open source – a new, modern language that turns... by alixanderwang on Tuesday November 22, 2022 @07:11AM (#33704895)
do you have an example of the rich text for PlantUML? happy to correct

i've added a TODO for the class diagrams, will be included this week. https://github.com/terrastruct/text-to-diagram-site/issues/2...

AFAIK they all have comments (see the "Chess" example). what is the limitation of comments you're referring to?

Re:D2 is now open source – a new, modern language that turns... by pizza234 on Tuesday November 22, 2022 @07:38AM (#33705102)
This is a styling example in PlantUML:

    class TestClass {
      ""Monospaced""
      <color:green>Colored
    }
See here: https://plantuml.com/creole.

Regarding the comments, here's a PlantUML example:

    class TestClass {
      ""Monospaced"" ' comment not supported; displayed
      <color:green>Colored
    }

    class TestClass2 {
      ' comment supported
      Type varname ' comment not supported; displayed
    }
    ' comment supported
    foo::bar --> baz ' comment not supported; breaks diagram (!)