Flip order of processing and allow img tag

* Swap to markdown first then sanitize-html to allow html code blocks
* Allow img tag ... this deviates from their defaults so we need to define our own.