diff --git a/init.org b/init.org index f73b874..19d1390 100644 --- a/init.org +++ b/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