Interface: MarkdownSection
Defined in: lib/classes/spooled_markdown_artifact.ts:60
A section of a markdown document as returned by SpooledMarkdownArtifact.md_sections.
Remarks
Contains only line-range metadata — no content is fetched until the caller explicitly requests it via cat(bodyStartLine, bodyEndLine + 1).
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
bodyEndLine | number | 0-based line of the last body line (inclusive). | lib/classes/spooled_markdown_artifact.ts:69 |
bodyStartLine | number | 0-based line of the first body line (heading line + 1). | lib/classes/spooled_markdown_artifact.ts:67 |
depth | 1 | 2 | 3 | 4 | 5 | 6 | - | lib/classes/spooled_markdown_artifact.ts:61 |
heading | string | The heading text. | lib/classes/spooled_markdown_artifact.ts:63 |
headingLine | number | 0-based line of the heading itself. | lib/classes/spooled_markdown_artifact.ts:65 |