FrontMatterResult
Pennington.FrontMatter
Result of front matter parsing.
Properties
Bodystring- Markdown body with the front matter block stripped.
MetadataT- Deserialized front matter, or
nullwhen the content had no front matter block.
Constructors
FrontMatterResult
#public FrontMatterResult`1(T Metadata, string Body)
Result of front matter parsing.
Parameters
MetadataT- Deserialized front matter, or
nullwhen the content had no front matter block. Bodystring- 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; }
}