Skip to content

Instantly share code, notes, and snippets.

@gghatano
Created August 15, 2014 12:05
Show Gist options
  • Save gghatano/a49b6690ed4517713b4d to your computer and use it in GitHub Desktop.
Save gghatano/a49b6690ed4517713b4d to your computer and use it in GitHub Desktop.
マークダウンをhtmlにするだけです
#!/bin/bash
dir=$(dirname $1)
[ "$dir" = "" ] && exit 1
pandoc -f markdown -t html $1 -o $dir/html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment