From cbd5199529209059be3bde0d6572a1ba192b84d3 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 28 Jan 2015 22:22:15 -0700 Subject: Add Elegies; template; pandoc compile script --- compile.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 compile.sh (limited to 'compile.sh') diff --git a/compile.sh b/compile.sh new file mode 100644 index 0000000..3877be0 --- /dev/null +++ b/compile.sh @@ -0,0 +1,10 @@ +# for windows only right now + +for file in *.txt; do # TODO: change this to work with globs & args & stuff + pandoc -f markdown \ # all files are in pandoc's markdown + -t html5 \ # they're being outputted to html5 + --template=_template.html \ # use this file as a template + --smart \ # smart quotes, etc. + $file \ + -o "${file%.txt}.html" +done -- cgit 1.4.1-21-gabe81