added markdown to html functionality