There are several ways to use PlantUML and Emacs together :
EmacsLuca Greco has started a set of helpers to edit, render, preview PlantUML code from Emacs.
Org-BabelOrg-Babel now supports blocks of plantuml code.
There is also an Emacs mode for PlantUML
Thanks to Zhang Weize for adding this support.
Emacs Org-ModeYou can also use PlantUML with Emacs org-mode.
You will find the needed macro at the following address http://www.emacswiki.org/emacs/IanYang
Once installed, embed PlantUML code in Emacs org-mode is used like this:
#+BEGIN_UML Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response #+END_UMLWhile the org file is exported to HTML or other formats, PlantUML is called to generate image and replace the block in place.
Thanks to Ian Yang for the work done.