hamacs/snippets/org-mode/plantuml
Howard Abrams 2b1bdb32a1 Get PlantUML back to working in org mode documents
Changed the name of a function, and didn't realize it broke my
snippets until I tried to use it.
2022-04-11 20:37:15 -07:00

17 lines
444 B
Text

# -*- mode: snippet -*-
# name: plantuml
# key: <p
# contributor: Howard Abrams
# group: plantuml
# --
#+begin_src plantuml :file ${1:`(file-name-base (buffer-file-name)))`-`(ha-org-next-image-number)`}.${2:png} :exports file :results file
@startuml
!include https://raw.githubusercontent.com/ptrkcsk/one-dark-plantuml-theme/v1.0.0/theme.puml
' See details at https://plantuml.com/
$0
@enduml
#+end_src
#+ATTR_ORG: :width 800px
[[file:$1.$2]]