diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2024-09-18 21:12:51 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2024-09-18 21:12:51 +0300 |
commit | 14f9bd68ce54ded54aad31733fd91addfcc3abbf (patch) | |
tree | 7d974df1aeee085c1024f11783443e411d9b4363 /dotfiles/.local | |
parent | 9273d021a5c5f4ef767a349996aa6bf318054d8f (diff) | |
download | swayrice-14f9bd68ce54ded54aad31733fd91addfcc3abbf.tar.gz swayrice-14f9bd68ce54ded54aad31733fd91addfcc3abbf.zip |
doccompiler: add plantuml files
Diffstat (limited to 'dotfiles/.local')
-rwxr-xr-x | dotfiles/.local/bin/doccompiler | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dotfiles/.local/bin/doccompiler b/dotfiles/.local/bin/doccompiler index 9e24845..7216a7f 100755 --- a/dotfiles/.local/bin/doccompiler +++ b/dotfiles/.local/bin/doccompiler @@ -27,6 +27,7 @@ case "$file" in *\.rmd) echo "require(rmarkdown); rmarkdown::render('$file', quiet=TRUE)" | R -q --vanilla ;; *\.tex) textype "$file" ;; *\.md) pandoc "$file" -o "$base".pdf ;; + *\.uml) plantuml -tsvg "$file" ;; *\.sent) setsid sent "$file" 2>/dev/null & ;; *) echo "Couldn't figure out file type!" && exit 1 ;; esac |