Monday, 6 February 2023

PlantUML: Creol support for text formatting

Creole is a lightweight markup language, aimed at being a common markup language for wikis, enabling and simplifying the transfer of content between different wiki engines.

 

creol.txt

@startuml

client -> server: sending creol message

note left
  This is **bold**
  This is //italics//
  This is ""monospaced""
  This is --stricken-out--
  This is __underlined__
  This is ~~wave-underlined~~

  * Bullet list
  * Second item
    ** Sub item

  # Numbered list
  # Second item
    ## Sub item

  Horizontal line
  ----
  = Extra-large heading
  == Large heading
  === Medium heading
  ==== Small heading

  ---
  Table example
  ---
  |s.no  |= name |= age |
  | 1 | Krishna  | 33   |
  | 2 | Ram      | 34   |

end note

@enduml

Above snippet generates below diagram.


 


References

https://en.wikipedia.org/wiki/Creole_%28markup%29

https://plantuml.com/creole

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment