Configure plantuml and mermaid

This commit is contained in:
Jeremy Dormitzer 2024-04-29 12:25:43 -04:00
parent 2482d0d278
commit 86caa02c47
3 changed files with 8 additions and 2 deletions

View File

@ -0,0 +1,5 @@
;; -*- lexical-binding: t; -*-
(use-package mermaid-mode)
(provide 'init-mermaid)

View File

@ -4,7 +4,7 @@
("\\.plantuml\\'" . plantuml-mode)
("\\.puml\\'" . plantuml-mode))
:custom
(plantuml-default-exec-mode 'jar)
(plantuml-jar-path (expand-file-name "~/plantuml/plantuml.jar")))
(plantuml-default-exec-mode 'executable)
(plantuml-executable-path (executable-find "plantuml")))
(provide 'init-plantuml)

View File

@ -120,6 +120,7 @@
(require 'init-1pass)
(require 'init-wallabag)
(require 'init-plantuml)
(require 'init-mermaid)
(require 'handwriting)
(when (string-equal system-type "darwin")
(require 'init-mac))