From a5e018a36dfd6ab24b083914e5c319c1b4fbfd92 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Fri, 2 Sep 2016 13:22:04 +0800 Subject: spacemacs: add org-babel config and set ditaa path for org --- _spacemacs.d/config/aly-org-config.el | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/_spacemacs.d/config/aly-org-config.el b/_spacemacs.d/config/aly-org-config.el index cdb3937..8fe3926 100644 --- a/_spacemacs.d/config/aly-org-config.el +++ b/_spacemacs.d/config/aly-org-config.el @@ -22,6 +22,16 @@ (setq org-agenda-files '("~/org/todo.org" "~/org/task.org" "~/org/astro.org")) + ;; active Babel languages + (org-babel-do-load-languages + 'org-babel-load-languages + '((emacs-lisp . t) + (sh . t) + (python . t) + (ditaa . t) + )) + ;; set the path to the `ditaa' program + (setq org-ditaa-jar-path "~/.spacemacs.d/local/ditaa/ditaa.jar") ) ;; with-eval-after-load 'org -- cgit v1.2.2