Fix my snippet for PlantUML references
Ooop.
This commit is contained in:
		
							parent
							
								
									7439cfbb9f
								
							
						
					
					
						commit
						132404580a
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		| 
						 | 
					@ -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]]
 | 
				
			||||||
		Loading…
	
		Reference in a new issue