Add plantuml babel
This commit is contained in:
parent
9c16af9e7c
commit
62bb0cd205
20
config.org
20
config.org
|
@ -95,7 +95,7 @@ Disable LateX preview in Org-mode by default
|
|||
|
||||
** Enable conda environment in a Org-mode
|
||||
|
||||
#+begin_src emacs-lisp :tangle yes
|
||||
#+begin_src emacs-lisp :tangle no
|
||||
(require 'conda)
|
||||
(conda-env-initialize-interactive-shells)
|
||||
#+end_src
|
||||
|
@ -146,3 +146,21 @@ systemctl --user enable --now emacs
|
|||
|
||||
#+RESULTS:
|
||||
: vim-save
|
||||
|
||||
* PlantUML
|
||||
|
||||
#+begin_src emacs-lisp :tangle yes
|
||||
(setq plantuml-default-exec-mode 'executable)
|
||||
;; (setq plantuml-default-exec-mode 'jar)
|
||||
(setq plantuml-executable-path "/usr/bin/plantuml")
|
||||
;; setup plantuml for org-babel
|
||||
(add-to-list 'org-src-lang-modes '("plantuml" . plantuml))
|
||||
(setq org-plantuml-exec-mode 'executable)
|
||||
(setq org-plantuml-executable-path plantuml-executable-path)
|
||||
;; (require 'ob-plantuml) ; OBSOLETED
|
||||
(setq org-plantuml-jar-path "/usr/share/java/plantuml.jar")
|
||||
;; (setq plantuml-jar-args '())
|
||||
;; Enable puml-mode for PlantUML files
|
||||
(add-to-list 'auto-mode-alist '("\\.puml\\'" . plantuml-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.plantuml\\'" . plantuml-mode))
|
||||
#+end_src
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
|
||||
;(unpin! t)
|
||||
|
||||
(package! conda)
|
||||
; (package! conda)
|
||||
|
||||
(package! quarto-mode)
|
||||
|
||||
|
@ -59,7 +59,7 @@
|
|||
(package! pasp-mode)
|
||||
|
||||
(package! ob-pasp
|
||||
:recipe (:local-repo "~/Documents/Projects/ob-pasp"))
|
||||
:recipe (:host github :repo "UncleSamulus/ob-pasp"))
|
||||
|
||||
(package! ox-hugo)
|
||||
|
||||
|
|
Loading…
Reference in New Issue