Collapse code blocks with single items.