RenderedContent Pennington.Pipeline
Output produced by the render stage for a single content item.
Properties
CrossReferencesSystem.Collections.Immutable.ImmutableList<Pennington.Pipeline.CrossReference>- Cross-reference targets defined by the content.
Htmlstring- Rendered HTML body.
OutlinePennington.Pipeline.OutlineEntry[]- Heading outline extracted from the content.
SearchDocumentPennington.Search.SearchIndexDocument?- Default:
nullOptional search index document for this page. SocialPennington.Pipeline.SocialMetadata?- Default:
nullOptional social/Open Graph metadata for this page. TagsSystem.Collections.Immutable.ImmutableList<Pennington.Pipeline.Tag>- Tags associated with the content.
Constructors
.ctor
#public record RenderedContent(
string Html,
OutlineEntry[] Outline,
ImmutableList<Tag> Tags,
ImmutableList<CrossReference> CrossReferences,
SearchIndexDocument? SearchDocument,
SocialMetadata? Social
);Output produced by the render stage for a single content item.
Parameters
Htmlstring- Rendered HTML body.
OutlineOutlineEntry[]- Heading outline extracted from the content.
TagsImmutableList<Tag>- Tags associated with the content.
CrossReferencesImmutableList<CrossReference>- Cross-reference targets defined by the content.
SearchDocumentSearchIndexDocument?- Optional search index document for this page.
SocialSocialMetadata?- Optional social/Open Graph metadata for this page.
Pennington.Pipeline.RenderedContent
namespace Pennington.Pipeline;
/// Output produced by the render stage for a single content item.
public record RenderedContent
{
/// Output produced by the render stage for a single content item.
public record RenderedContent(
string Html,
OutlineEntry[] Outline,
ImmutableList<Tag> Tags,
ImmutableList<CrossReference> CrossReferences,
SearchIndexDocument? SearchDocument,
SocialMetadata? Social
);
/// Cross-reference targets defined by the content.
ImmutableList<CrossReference> CrossReferences
;
/// Rendered HTML body.
string Html
;
/// Heading outline extracted from the content.
OutlineEntry[] Outline
;
/// Optional search index document for this page.
SearchIndexDocument? SearchDocument
;
/// Optional social/Open Graph metadata for this page.
SocialMetadata? Social
;
/// Tags associated with the content.
ImmutableList<Tag> Tags
;
}