ソースを参照

ob-plantuml: support for svg output files

* lisp/ob-plantuml.el (org-babel-execute:plantuml): support for svg
  output files
Eric Schulte 14 年 前
コミット
2f4db36f4b
1 ファイル変更2 行追加0 行削除
  1. 2 0
      lisp/ob-plantuml.el

+ 2 - 0
lisp/ob-plantuml.el

@@ -63,6 +63,8 @@ This function is called by `org-babel-execute-src-block'."
 		(concat "java -jar "
 			(shell-quote-argument
 			 (expand-file-name org-plantuml-jar-path))
+			(if (string= (file-name-extension out-file) "svg")
+			    "-tsvg" "")
 			" -p " cmdline " < "
 			(shell-quote-argument
 			 (expand-file-name in-file))