SVG using ditaa

From PostgreSQL wiki
Jump to navigationJump to search

ditaa

ditaa (github; binary version 0.11) is a command-line utility written in Java, that handles diagrams. The syntax of source files is similar to ascii art, the default file extention is .txt .

ditaa supports SVG since version 0.11.

java -jar ditaa.jar <sourcefile> --svg -E -S -o

Limitations (version 0.11)

  • There is no escape mechanism for key-characters which may occur in a text or formula: minus (-), plus (+), equal (=), ...
  • No support for Markdown or similar formatting rules