Skip to content

Instantly share code, notes, and snippets.

@adammichaelwood
Created March 31, 2016 03:37
Show Gist options
  • Save adammichaelwood/1c6c51fe715aab998b97c58266a49abb to your computer and use it in GitHub Desktop.
Save adammichaelwood/1c6c51fe715aab998b97c58266a49abb to your computer and use it in GitHub Desktop.
#! /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