clean up markdown artifacts