This site provides a machine-readable index at /llms.txt.

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?
Default: null
Deserialized front matter, or null when the content had no front matter block.

Constructors

.ctor

#
public record FrontMatterResult<T>(T? Metadata, string Body) where T : IFrontMatter;

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
{
    /// Result of front matter parsing.
    
public record FrontMatterResult<T>(T? Metadata, string Body) where T : IFrontMatter;
/// Markdown body with the front matter block stripped.
string Body
; /// Deserialized front matter, or null when the content had no front matter block.
T? Metadata
; }