Added basic markdown support.

Idea taken from https://github.com/carb/t