[Emacs] Add Plantuml layer

This commit is contained in:
Lucien Cartier-Tilet 2020-12-05 16:10:25 +01:00
parent c46fcd3db7
commit 83d1dad6d5
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -319,6 +319,13 @@ The Markdown layer has been enabled, with support for live preview with ~vmd~, a
("elisp" "emacs-lisp"))) ("elisp" "emacs-lisp")))
#+END_SRC #+END_SRC
PlantUML is a very useful DSL for creating UML diagrams from some text description. As you can see below, this layer will be enabled, both as a standalone mode for opening ~.pum~ files, but also for org-mode code blocks.
#+BEGIN_SRC emacs-lisp
(plantuml :variables
plantuml-jar-path "~/.local/bin/plantuml.jar"
org-plantuml-jar-path "~/.local/bin/plantuml.jar")
#+END_SRC
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(bibtex :variables (bibtex :variables
org-ref-default-bibliography '("~/Documents/Papers/references.bib") org-ref-default-bibliography '("~/Documents/Papers/references.bib")
@ -1721,6 +1728,7 @@ One of the amazing features of org-mode is its literary programming capacities b
| gnuplot | | gnuplot |
| latex | | latex |
| makefile | | makefile |
| plantuml |
| python | | python |
| sass | | sass |
| scheme | | scheme |