clean up markdown for nested bullets