convert to vimwiki
[robinkrens.nl] / docs / compile.sh
1 ### compile all
2
3 if [ -x /usr/bin/txt2html ]; then
4         txt2html --version
5         for FILE in *.txt; do
6                 NEWFILE=$(echo $FILE | sed 's/txt/html/')
7                 txt2html --infile $FILE --outfile $NEWFILE --style_url ../files/style.css
8                 echo "Compiled $FILE to $NEWFILE"
9         done
10 fi