Modified markdown function. Added grunt build task.

Markdown format output currently commented out.