Drop banner/metadata blocks from the head of the document. Rules:
A run of banner lines (contiguous, or separated only by blank lines) is
removed. A trailing --- horizontal rule immediately after the banner
run is also removed.
Stops scanning as soon as we hit a line that looks like real content
(headings, prose, tables, fences) that isn't a banner or blank.
Parameters
md: string
Raw Markdown source
Returns {md:string;lines:number}
{ md, lines } — stripped Markdown and count of removed lines
Drop banner/metadata blocks from the head of the document. Rules:
---horizontal rule immediately after the banner run is also removed.