This documentation is also published as Markdown for efficient machine reading: the whole site is indexed at /llms.txt, and every page has a clean Markdown copy under /_llms/. These are generated from the same source and cost far fewer tokens to read than this rendered HTML.

Skip to main content Skip to navigation

FrontMatterResult Pennington.FrontMatter

Result of front matter parsing.

Properties

Body string
Markdown body with the front matter block stripped.
Metadata T
Deserialized front matter, or null when the content had no front matter block.

Constructors

FrontMatterResult

#
public FrontMatterResult`1(T Metadata, string Body)

Result of front matter parsing.

Parameters

Metadata T
Deserialized front matter, or null when the content had no front matter block.
Body string
Markdown body with the front matter block stripped.

Pennington.FrontMatter.FrontMatterResult

namespace Pennington.FrontMatter;

/// Result of front matter parsing.
public record FrontMatterResult
{
    /// Markdown body with the front matter block stripped.
    
public string Body { get; set; }
/// Result of front matter parsing.
public FrontMatterResult`1(T Metadata, string Body)
; /// Deserialized front matter, or null when the content had no front matter block.
public T Metadata { get; set; }
}