added markdown processing