cleans up markdown for README and web view