Skip to content

Commit

Permalink
set plantuml.include.path to enable !include files in puml
Browse files Browse the repository at this point in the history
  • Loading branch information
kimim committed Apr 3, 2024
1 parent 63a4221 commit 0bc98ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chatu-plantuml.el
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ KEYWORD-PLIST contains parameters from the chatu line."
(let* ((input-path (plist-get keyword-plist :input-path))
(input-path (chatu-common-with-extension input-path "puml"))
(output-path (plist-get keyword-plist :output-path))
(input-dir (file-name-directory input-path))
(page (plist-get keyword-plist :page)))
(concat "java -jar "
(concat "java -Dplantuml.include.path=" input-dir " -jar "
plantuml-jar-path
" -charset utf-8 -p -tsvg "
(when page (concat "-pipeimageindex " page))
Expand Down

0 comments on commit 0bc98ca

Please sign in to comment.