Markdown fixes

remove legacy code and clean