Split at H1 and H2 headings outside fences. Re-joining headingLine + "\n" + body over every section yields the artifact byte-identical; an empty preamble is dropped.
headingLine + "\n" + body
Split at H1 and H2 headings outside fences. Re-joining
headingLine + "\n" + bodyover every section yields the artifact byte-identical; an empty preamble is dropped.