RenderedContent Pennington.Pipeline
Output produced by the render stage for a single content item.
Properties
CrossReferencesImmutableList<CrossReference>- Cross-reference targets defined by the content.
Htmlstring- Rendered HTML body.
OutlineOutlineEntry[]- Heading outline extracted from the content.
SocialSocialMetadata- Optional social/Open Graph metadata for this page.
TagsImmutableList<Tag>- Tags associated with the content.
Constructors
RenderedContent
#public RenderedContent(string Html, OutlineEntry[] Outline, ImmutableList<Tag> Tags, ImmutableList<CrossReference> CrossReferences, 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.
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
{
/// Cross-reference targets defined by the content.
public ImmutableList<CrossReference> CrossReferences { get; set; }
/// Rendered HTML body.
public string Html { get; set; }
/// Heading outline extracted from the content.
public OutlineEntry[] Outline { get; set; }
/// Output produced by the render stage for a single content item.
public RenderedContent(string Html, OutlineEntry[] Outline, ImmutableList<Tag> Tags, ImmutableList<CrossReference> CrossReferences, SocialMetadata Social)
;
/// Optional social/Open Graph metadata for this page.
public SocialMetadata Social { get; set; }
/// Tags associated with the content.
public ImmutableList<Tag> Tags { get; set; }
}