about summary refs log tree commit diff stats
path: root/compile.sh
blob: 3877be085f198c944892e5449f76854b6f77ca73 (plain)
1
2
3
4
5
6
7
8
9
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