diff options
| -rw-r--r-- | smart-documents.org | 44 | 
1 files changed, 26 insertions, 18 deletions
| diff --git a/smart-documents.org b/smart-documents.org index 36b76ae..1efc090 100644 --- a/smart-documents.org +++ b/smart-documents.org @@ -799,27 +799,35 @@ Yeah, a Telegram client exists for Emacs.  # Implement automatically downloading this kind of executable!  #+BEGIN_SRC emacs-lisp :tangle yes -  (setq org-plantuml-jar-path -        (concat user-emacs-directory -                "execs/plantuml.jar")) +  (require 'plantuml-mode) + +  (setq plantuml-default-exec-mode 'jar +        plantuml-jar-path (concat user-emacs-directory +                                  "execs/plantuml.jar") +        org-plantuml-jar-path (concat user-emacs-directory +                                      "execs/plantuml.jar"))  #+END_SRC  #+BEGIN_SRC plantuml :file img/uml.png -!theme plain -package "Package 1" as pkg1 { -node node1 -node node2 -} -package "Package 2" as pkg2 { -component "Component 1" as comp1 -component "Component 2" as comp2 -interface "Interface" as int -} - -pkg1 .. pkg2 - -comp1 --> int -comp2 --> int +  @startuml doob.png +  !theme cerulean-outline +  title Example diagram with Plantuml + +  package "Package 1" as pkg1 { +          node node1 +          node node2 +  } +  package "Package 2" as pkg2 { +          component "Component 1" as comp1 +          component "Component 2" as comp2 +          interface "Interface" as int +  } + +  pkg1 .. pkg2 + +  comp1 --> int +  comp2 --> int +  @enduml  #+END_SRC  #+RESULTS: | 
