Created convert from markdown to html function.