gatelineAPI reference
  • 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.

    Parameters

    • markdown: string

    Returns Section[]