# this is a file to convert from .md to .html echo "starting the conversion" pandoc -s -t html -c style.css index.md -o index.html pandoc -s -t html introduction.md -o introduction.html pandoc -s -t html laser.md -o laser.html pandoc -s -t html vinyl.md -o vinyl.html pandoc -s -t html Linux.md -o Linux.html pandoc -s -t html final-project.md -o final-project.html pandoc -s -t html shopbot.md -o shopbot.html pandoc -s -t html electronics_production.md -o electronics_production.html pandoc -s -t html 3D_printing_scanning.md -o 3D_printing_scanning.html echo "all files converted to html" if [ "$#" -gt 0 ] then cd .. cd .. git pull git add . git commit -m "$*" git pull && git push else echo "Not uploading (empty commit message)" fi