Open exaos opened 1 year ago
I had to wrap the content with @startuml
and @enduml
and then just include the content from a standalone .puml
file like
#+begin_src plantuml :file ./0003_files/layout_architecture.svg
@startuml
!include 0003_files/layout_architecture.puml
@enduml
#+end_src
The standalone .puml
file is wrapped in @startuml
and @enduml
as well (otherwise it wouldn't work as standalone.
Summary
In an
org-mode
file, I want that the following plantuml source block can generate an inline image automatically which executingorg-babel-execute-src-block
(or pressC-cC-c
).But I failed with the following output image
test_uml.png
which is actually an ASCII file:Configurations
The plantuml configuration clip is as the following:
I checked every variable (e.g.,
plantuml-jar-path
,plantuml-default-exec-mode
), and I confirm that they are correctly assigned.