pub fn limit_sections(output: &str, limit: usize) -> StringExpand description
Truncate each ## <heading> section to at most limit lines.
Sections are delimited by lines starting with ## . Content
before the first section header passes through untruncated
(typically the file-path header row).