IncludeDirective
Defined in: preprocess/types.ts:36
A parsed include directive from source content
Properties
Section titled “Properties”endOffset
Section titled “endOffset”endOffset:
number
Defined in: preprocess/types.ts:50
End offset in content (for splitting)
format?
Section titled “format?”
optionalformat:SourceFormat
Defined in: preprocess/types.ts:41
Explicit format if specified, otherwise inferred from extension
relativePath
Section titled “relativePath”relativePath:
string
Defined in: preprocess/types.ts:38
Relative path as written in source (e.g., ”./intro.md”)
sourcePos
Section titled “sourcePos”sourcePos:
SourcePos
Defined in: preprocess/types.ts:44
Position of the directive in source
startOffset
Section titled “startOffset”startOffset:
number
Defined in: preprocess/types.ts:47
Start offset in content (for splitting)