Fix my snippet for PlantUML references

Ooop.
This commit is contained in:
Howard Abrams 2022-04-12 10:47:20 -07:00
parent 7439cfbb9f
commit 132404580a

View file

@ -5,13 +5,12 @@
# group: plantuml # group: plantuml
# -- # --
#+begin_src plantuml :file ${1:`(file-name-base (buffer-file-name)))`-`(ha-org-next-image-number)`}.${2:png} :exports file :results file #+BEGIN_SRC plantuml :file ${1:`(ha-org-next-image-number)`}.${2:png} :exports file :results file
@startuml @startuml
!include https://raw.githubusercontent.com/ptrkcsk/one-dark-plantuml-theme/v1.0.0/theme.puml !include https://raw.githubusercontent.com/ptrkcsk/one-dark-plantuml-theme/v1.0.0/theme.puml
' See details at https://plantuml.com/
$0 $0
@enduml @enduml
#+end_src #+END_SRC
#+ATTR_ORG: :width 800px #+ATTR_ORG: :width 800px
[[file:$1.$2]] [[file:$1.$2]]