Interface: MarkdownSectionSourceNode<T>
Defined in: ast/domain/markdown-section-source-node.ts:11
Passive AST node extracting a specific Markdown heading section from a document (md.section).
Parses the Markdown document at path relative to the host repository root and extracts the text under heading up to the next heading of equal or higher depth.
Extends
BaseSourceASTNode<"markdown:section",T>
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
T | unknown | Resolved section content type. |
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
__dataType? | readonly | BivariantCallback<[data: T], void> | Phantom type brand preserving the resolved content type T. | BaseSourceASTNode.__dataType | ast/base/base-source-ast-node.ts:18 |
heading | readonly | string | Target heading title to extract. | - | ast/domain/markdown-section-source-node.ts:16 |
id | readonly | string | Logical identifier of the source descriptor. | BaseSourceASTNode.id | ast/base/base-source-ast-node.ts:16 |
path | readonly | string | Host-root-relative path to the Markdown file. | - | ast/domain/markdown-section-source-node.ts:14 |
type | readonly | "markdown:section" | Unique string-literal discriminant of the source node. | BaseSourceASTNode.type | ast/base/base-source-ast-node.ts:14 |