RenderedContent Type — astro Architecture
Architecture documentation for the RenderedContent type/interface in data-store.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 002f8e08_9b86_9db9_7a60_691b8058e9ef["RenderedContent"] dabf6768_9542_21ce_e4c4_299b1540a491["data-store.ts"] 002f8e08_9b86_9db9_7a60_691b8058e9ef -->|defined in| dabf6768_9542_21ce_e4c4_299b1540a491 style 002f8e08_9b86_9db9_7a60_691b8058e9ef fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/content/data-store.ts lines 4–17
export interface RenderedContent {
/** Rendered HTML string. If present then `render(entry)` will return a component that renders this HTML. */
html: string;
metadata?: {
/** Any images that are present in this entry. Relative to the {@link DataEntry} filePath. */
imagePaths?: Array<string>;
/** Any headings that are present in this file. */
headings?: MarkdownHeading[];
/** Raw frontmatter, parsed parsed from the file. This may include data from remark plugins. */
frontmatter?: Record<string, any>;
/** Any other metadata that is present in this file. */
[key: string]: unknown;
};
}
Defined In
Source
Frequently Asked Questions
What is the RenderedContent type?
RenderedContent is a type/interface in the astro codebase, defined in packages/astro/src/content/data-store.ts.
Where is RenderedContent defined?
RenderedContent is defined in packages/astro/src/content/data-store.ts at line 4.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free