From: Peng Li Date: Fri, 4 Nov 2016 15:51:32 +0000 (+0800) Subject: emacs - plantuml X-Git-Url: http://47.100.26.94:8080/?a=commitdiff_plain;h=9b62d56276306b2aa71af2840211a2d9ea19471c;p=dotfiles.git emacs - plantuml --- 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