Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 22 lines (17 sloc) 431 Bytes
pushd workbook
echo Cleaning up old PDFs
rm pdfs/*.pdf
echo Cleaning up old HTMLs
rm htmls/*.html
pushd markdown
echo Markdown to PDF conversion...
find . -name "*.md" -exec markdown2pdf {} \;
echo Markdown to HTML conversion...
find . -name "*.md" -exec {} \;
echo Relocating PDFs to output directory...
mv *.pdf ../pdfs/
echo Relocating HTMLs to output directory...
mv *.html ../htmls/