remove markdown artifacts