bunch of conversions from html to markdown