Theia API Documentation v1.77.0
    Preparing search index...

    Interface FrontmatterParseResult<T>

    Result of parsing a frontmatter document. When the input has no frontmatter (or it is invalid), metadata is undefined and body is the original content.

    interface FrontmatterParseResult<T> {
        body: string;
        metadata: T | undefined;
    }

    Type Parameters

    • T
    Index
    body: string
    metadata: T | undefined