ParsedItem Pennington.Pipeline
A content item whose front matter and raw markdown body have been parsed.
Properties
MetadataPennington.FrontMatter.IFrontMatter- Parsed front matter metadata.
RawMarkdownstring- Markdown body text, with front matter stripped.
RoutePennington.Routing.ContentRoute- Canonical route for the item.
Constructors
.ctor
#public record ParsedItem(ContentRoute Route, IFrontMatter Metadata, string RawMarkdown);A content item whose front matter and raw markdown body have been parsed.
Parameters
RouteContentRoute- Canonical route for the item.
MetadataIFrontMatter- Parsed front matter metadata.
RawMarkdownstring- Markdown body text, with front matter stripped.
Pennington.Pipeline.ParsedItem
namespace Pennington.Pipeline;
/// A content item whose front matter and raw markdown body have been parsed.
public record ParsedItem
{
/// A content item whose front matter and raw markdown body have been parsed.
public record ParsedItem(ContentRoute Route, IFrontMatter Metadata, string RawMarkdown);
/// Parsed front matter metadata.
IFrontMatter Metadata
;
/// Markdown body text, with front matter stripped.
string RawMarkdown
;
/// Canonical route for the item.
ContentRoute Route
;
}