]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
yasnippet: org-mode: added <sditaa
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 7 Oct 2015 08:13:51 +0000 (10:13 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 7 Oct 2015 08:13:51 +0000 (10:13 +0200)
new snippet to get src block for DIagrams Through Ascii Art

snippets/org-mode/ditaa [new file with mode: 0644]

diff --git a/snippets/org-mode/ditaa b/snippets/org-mode/ditaa
new file mode 100644 (file)
index 0000000..d71bd03
--- /dev/null
@@ -0,0 +1,7 @@
+# -*- mode: snippets -*-
+# name: ditaa
+# key: <sditaa
+# --
+#+BEGIN_SRC ditaa :file $1.png :cmdline -r -s 0.8 :exports ${2:$$(yas-choose-value '("results" "code" "both" "none"))} :cache ${3:$$(yas-choose-value '("yes" "no"))}
+$0
+#+END_SRC
\ No newline at end of file