Integrate PlantUML mode with org-mode code blocks
This commit is contained in:
parent
deb1bfd574
commit
4cba3af502
1 changed files with 5 additions and 0 deletions
|
|
@ -191,10 +191,15 @@
|
|||
(use-package plantuml-mode
|
||||
:ensure (:repo "https://github.com/skuro/plantuml-mode")
|
||||
:custom
|
||||
;; keep-sorted start
|
||||
(plantuml-default-exec-mode 'server)
|
||||
(plantuml-output-type "svg")
|
||||
(plantuml-server-url "http://localhost:8080")
|
||||
;; keep-sorted end
|
||||
:init
|
||||
(add-to-list 'auto-mode-alist '("\\.puml\\'" . plantuml-mode))
|
||||
(add-to-list 'org-src-lang-modes '("plantuml" . plantuml))
|
||||
(org-babel-do-load-languages 'org-babel-load-languages '((plantuml . t)))
|
||||
)
|
||||
|
||||
(use-package age
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue