This documentation is also published as Markdown for efficient machine reading: the whole site is indexed at /llms.txt, and every page has a clean Markdown copy at the same URL with .md appended. These are generated from the same source and cost far fewer tokens to read than this rendered HTML.

Skip to main content Skip to navigation

MarkdownOrigin Pennington.Pipeline

Origin information for a RenderedPage: the page came from a markdown source (carrying a ParsedItem with front matter + derived metadata) or from an endpoint opt-in (LlmsTxtEndpointExtensions) where the link target is the endpoint URL itself and no HTML is fetched. Razor / programmatic sources carry no origin metadata; see Origin.

Properties

Parsed ParsedItem
Enriched parsed item for the page, including derived metadata.

Constructors

MarkdownOrigin

#
public MarkdownOrigin(ParsedItem Parsed)

Origin information for a RenderedPage: the page came from a markdown source (carrying a ParsedItem with front matter + derived metadata) or from an endpoint opt-in (LlmsTxtEndpointExtensions) where the link target is the endpoint URL itself and no HTML is fetched. Razor / programmatic sources carry no origin metadata; see Origin.

Parameters

Parsed ParsedItem
Enriched parsed item for the page, including derived metadata.

Pennington.Pipeline.MarkdownOrigin

namespace Pennington.Pipeline;

/// Origin information for a RenderedPage: the page came from a markdown source (carrying a ParsedItem with front matter + derived metadata) or from an endpoint opt-in (LlmsTxtEndpointExtensions) where the link target is the endpoint URL itself and no HTML is fetched. Razor / programmatic sources carry no origin metadata; see Origin.
public record MarkdownOrigin
{
    /// Origin information for a RenderedPage: the page came from a markdown source (carrying a ParsedItem with front matter + derived metadata) or from an endpoint opt-in (LlmsTxtEndpointExtensions) where the link target is the endpoint URL itself and no HTML is fetched. Razor / programmatic sources carry no origin metadata; see Origin.
    
public MarkdownOrigin(ParsedItem Parsed)
; /// Enriched parsed item for the page, including derived metadata.
public ParsedItem Parsed { get; set; }
}