See the PlantUML website for syntax reference, and the Hitchhiker’s Guide to PlantUML for usage tips.
@startuml
rectangle A
rectangle B
rectangle C
A -> B: horizontal
B --> C: vertical
@enduml
See the PlantUML website for syntax reference, and the Hitchhiker’s Guide to PlantUML for usage tips.
@startuml
rectangle A
rectangle B
rectangle C
A -> B: horizontal
B --> C: vertical
@enduml
A template for an org-mode file that includes PlantUML diagrams. An important part is not visible in the rendered file: the
org-latex-pdf-process
variable is customized as a buffer-local variable to include the-shell-escape
flag. Otherwise, the export to Latex does not work (as of Emacs 30.0.50 and org-mode 9.7).The variable is customized to a list of repeated commands to allow for Bibtex references, not really a part of this template but included anyway.
Clone the gist or view the raw file to see this part.
Also, this gist assumes that
org-mode
is enabled, andplantuml
is one of the languages enabled forbabel
: