Add ditaa to languages that are allowed to run inside org-mode
This commit is contained in:
parent
93035ced81
commit
c73e060af8
2 changed files with 11 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
(require 'org)
|
||||
|
||||
(define-key global-map "\C-cl" 'org-store-link)
|
||||
(define-key global-map "\C-ca" 'org-agenda)
|
||||
|
||||
|
|
@ -15,4 +16,13 @@
|
|||
;; Preserve indentation in SRC blocks
|
||||
(setq org-src-preserve-indentation t)
|
||||
|
||||
;; Specify which languages are allowed to run inside org-mode
|
||||
(org-babel-do-load-languages
|
||||
'org-babel-load-languages '(
|
||||
(ditaa . t))
|
||||
)
|
||||
|
||||
;; Tell org where to look for ditaa
|
||||
(setq org-ditaa-jar-path "/usr/share/java/ditaa/ditaa-0_10.jar")
|
||||
|
||||
(provide 'setup-org)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue