Added markdown middleware

This turned out to be very easy with the current middleware
process, hopefully it will be the same for the next few languages.
To wrap or edit the markdown the postprocess function in options
may be overridden.