Skip to content
1 min read · 130 words

Interface: MarkdownSection

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

PropertyTypeDescription
bodyEndLinenumber0-based line of the last body line (inclusive).
bodyStartLinenumber0-based line of the first body line (heading line + 1).
depth1 | 2 | 3 | 4 | 5 | 6-
headingstringThe heading text.
headingLinenumber0-based line of the heading itself.