I showed you my source code, pls respond
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1.8 KiB

UML

Draw UML1 diagrams inside Emacs.

Setup

Make sure all of the required components are installed on your system before loading the module.

RUN apt install -y default-jre

Config

Download and install PlantUML2, a text-based markup language for creating UML1 diagrams. You can read my notes about using the software here3. Support for Emacs is added through the plantuml-mode4 package. Configure the babel language module and structure templates to write diagrams in org-mode buffers.

(use-package plantuml-mode
  :after org
  :custom (plantuml-default-exec-mode 'jar)
          (plantuml-jar-path "~/.local/bin/plantuml.jar")
          (org-plantuml-jar-path (expand-file-name "~/.local/bin/plantuml.jar"))
          (org-startup-with-inline-images t)
  :config (add-to-list 'org-src-lang-modes '("plantuml" . plantuml))
          (add-to-list 'org-structure-template-alist '("pl" . "src plantuml"))
          (org-babel-do-load-languages 'org-babel-load-languages '((plantuml . t))))

Shortcuts

Toggle inline imagines with SPC t i.

(dotfiles/leader
  "ti" '(org-toggle-inline-images :which-key "Images"))

Footnotes