From 9b62d56276306b2aa71af2840211a2d9ea19471c Mon Sep 17 00:00:00 2001 From: Peng Li Date: Fri, 4 Nov 2016 23:51:32 +0800 Subject: [PATCH] emacs - plantuml --- emacs.d/config.org | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/emacs.d/config.org b/emacs.d/config.org index 6ad4057..14e81af 100644 --- a/emacs.d/config.org +++ b/emacs.d/config.org @@ -753,7 +753,8 @@ Always indents header, and hide header leading starts so that no need type =#+ST (sqlite . t) (js . t) (gnuplot . t) - (ditaa . t))) + (ditaa . t) + (plantuml . t))) ;; use current window for org source buffer editting (setq org-src-window-setup 'current-window ) @@ -773,6 +774,24 @@ Always indents header, and hide header leading starts so that no need type =#+ST :ensure t) #+END_SRC +*** plantUML +[[http://eschulte.github.io/babel-dev/DONE-integrate-plantuml-support.html][DONE-integrate-plantuml-support]] +#+BEGIN_SRC sh + ## support plantuml + brew install plantuml +#+END_SRC + +#+BEGIN_SRC emacs-lisp :tangle yes :results silent + (use-package plantuml + :ensure t) + + (setq org-plantuml-jar-path + (expand-file-name "/usr/local/Cellar/plantuml/8041/plantuml.8041.jar")) + + (set-variable 'plantuml-jar-path + (expand-file-name "/usr/local/Cellar/plantuml/8041/plantuml.8041.jar")) +#+END_SRC + ** Org-bullets use [[https://github.com/sabof/org-bullets][org-bullets]] package to show utf-8 charactes #+BEGIN_SRC emacs-lisp :tangle yes :results silent -- 2.11.0