Skip to content

Instantly share code, notes, and snippets.

@lee-pai-long
Created June 10, 2018 22:25
Show Gist options
  • Save lee-pai-long/7363a13cfc0517d1beaab4d25acdbfad to your computer and use it in GitHub Desktop.
Save lee-pai-long/7363a13cfc0517d1beaab4d25acdbfad to your computer and use it in GitHub Desktop.

[Atom] Use PlantUML

Install Graphviz

$ [sudo] apt-get update -qq \
> && [sudo] apt-get install graphviz

The dot executable will be useful later on

Install PlantUML

$ mkdir -p ~/.bin/java \
> && wget http://sourceforge.net/projects/plantuml/files/plantuml.jar/download \
> -O ~/.bin/java/plantuml.jar

Install atom PlantUML plugins

$ apm install \
>   language-plantuml \
>   plantuml-preview

Update plantuml-previeww configuration

  • Put the result of which dot in Graphviz Dot Executable.
  • Put ~/.bin/java/plantuml.jar in PlantUML Jar.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment