Skip to content

Instantly share code, notes, and snippets.

@lee-pai-long
Last active June 11, 2018 07:52
Show Gist options
  • Save lee-pai-long/e470039add2b7921ff7adf055daf0bbc to your computer and use it in GitHub Desktop.
Save lee-pai-long/e470039add2b7921ff7adf055daf0bbc to your computer and use it in GitHub Desktop.
Use PlantUML within Atom

[Atom] Install 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-preview 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