Enabled markdown extentions by default
Improved TOC, remove bad smell code
Supports text/plain content type