Created
March 31, 2016 03:37
-
-
Save adammichaelwood/1c6c51fe715aab998b97c58266a49abb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
month=$(date +"%b") | |
mo=$( tr '[A-Z]' '[a-z]' <<< $month) | |
yr=$(date +"%y") | |
mdfile="$1.md" | |
hfile="../html/$1-adamwood-$mo-$yr.html" | |
pandoc -f markdown -S -o $hfile $mdfile | |
python3 ~/bin/rend.py $hfile | |
open -a "Atom" $hfile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment