@rogerpence/rp-utils
    Preparing search index...

    Interface ParsedMarkdown<T>

    Represents a parsed markdown file with frontmatter and content.

    interface ParsedMarkdown<T extends Record<string, any> = Record<string, any>> {
        content: string;
        frontMatter: T;
    }

    Type Parameters

    • T extends Record<string, any> = Record<string, any>

      The type of the frontmatter object (defaults to Record<string, any>)

    Index

    Properties

    Properties

    content: string

    The markdown content (everything after the frontmatter)

    frontMatter: T

    The parsed YAML frontmatter as an object