#!/bin/bash
if [ "$#" -ne 1 ] ; then
echo "Usage: $0
" >&2
exit 1
fi
title=`echo "$1" |sed 's/ /-/g'`
fileName="_posts/`date +%Y-%m-%d-$title.markdown`"
touch $fileName
cat > $fileName < This is a blockquote.
>
> This is the second paragraph in the blockquote.
>
> ## This is an H2 in a blockquote
* Dandy.
* Gum.
1. Red
2. Green
3. Blue
This is an [example link](http://example.com/).
[1]: http://google.com/ "Google"
[2]: http://search.yahoo.com/ "Yahoo Search"
[3]: http://search.msn.com/ "MSN Search"
To highlight:
{% highlight text linenos %}
some text to be syntax highlighted....
{% endhighlight %}

DELIM
vim $fileName +9