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
|
|
@ -9,5 +9,6 @@ This configuration requires the installation of :
|
|||
- cmake (for ivory)
|
||||
- llvm-libs (for cmake, somehow not a dependency on Manjaro when installing cmake)
|
||||
- Use python-pip to install jedi, flake8, importmagic and autopep8 (for elpy)
|
||||
- ditaa (for ascii to image generation in org-mode)
|
||||
|
||||
When first checking out this config, run irony-install-server to make and install the irony-server.
|
||||
|
|
|
|||
|
|
@ -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