Moved markdown processing to its own object, simplifying the bundle processor.