fix loading issues with org-babel
This commit is contained in:
parent
63ed08a9c6
commit
cc53df4a47
1 changed files with 25 additions and 21 deletions
46
init.org
46
init.org
|
@ -406,19 +406,23 @@ testing in my [[file:~/org/snamellit/testfile.org::*User Journey Graph][org babe
|
|||
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package ob-mermaid
|
||||
:ensure t
|
||||
:demand t)
|
||||
|
||||
(use-package ob-mermaid
|
||||
:ensure t
|
||||
:demand t
|
||||
:config
|
||||
(setq org-babel-load-languages (cons '(mermaid . t) org-babel-load-languages))
|
||||
(org-babel-do-load-languages 'org-babel-load-languages org-babel-load-languages))
|
||||
#+END_SRC
|
||||
|
||||
#+RESULTS:
|
||||
: [nil 26817 38923 492671 nil elpaca-process-queues nil nil 702000 nil]
|
||||
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package ob-latex
|
||||
:ensure nil
|
||||
:demand t
|
||||
:custom
|
||||
(org-preview-latex-default-process "lualatex"))
|
||||
:custom (org-preview-latex-default-process "lualatex"))
|
||||
|
||||
#+END_SRC
|
||||
|
||||
|
@ -426,24 +430,24 @@ testing in my [[file:~/org/snamellit/testfile.org::*User Journey Graph][org babe
|
|||
: [nil 26768 38911 12050 nil elpaca-process-queues nil nil 97000 nil]
|
||||
|
||||
#+BEGIN_SRC emacs-lisp :tangle yes
|
||||
;; configure babel languages
|
||||
(use-package ob
|
||||
:ensure nil
|
||||
:after org
|
||||
:custom
|
||||
(org-babel-load-languages '((emacs-lisp . t)
|
||||
(shell . t)
|
||||
(python . t)
|
||||
(scheme . t)
|
||||
(plantuml . t)
|
||||
(mermaid . t)
|
||||
(sql . t)
|
||||
(sqlite . t)
|
||||
(dot . t)))
|
||||
)
|
||||
(;; configure babel languages
|
||||
use-package ob
|
||||
:ensure nil
|
||||
:config
|
||||
(setq org-babel-load-languages '((emacs-lisp . t)
|
||||
(shell . t)
|
||||
(python . t)
|
||||
(scheme . t)
|
||||
(plantuml . t)
|
||||
;(mermaid . t)
|
||||
(sql . t)
|
||||
(sqlite . t)
|
||||
(dot . t)))
|
||||
(org-babel-do-load-languages 'org-babel-load-languages org-babel-load-languages))
|
||||
#+END_SRC
|
||||
|
||||
#+RESULTS:
|
||||
: t
|
||||
|
||||
***** Example Emacs Lisp
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue