cleans markdown list