Home / Type/ MarkdownLayoutProps Type — astro Architecture

MarkdownLayoutProps Type — astro Architecture

Architecture documentation for the MarkdownLayoutProps type/interface in content.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  f88ef1ea_249f_dcef_9992_4d78e3fdfa9a["MarkdownLayoutProps"]
  7547ecbb_58ef_bc2d_b119_f58ad78d86f6["content.ts"]
  f88ef1ea_249f_dcef_9992_4d78e3fdfa9a -->|defined in| 7547ecbb_58ef_bc2d_b119_f58ad78d86f6
  style f88ef1ea_249f_dcef_9992_4d78e3fdfa9a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/types/public/content.ts lines 65–75

export interface MarkdownLayoutProps<T extends Record<string, any>> {
	frontmatter: {
		file: MarkdownInstance<T>['file'];
		url: MarkdownInstance<T>['url'];
	} & T;
	file: MarkdownInstance<T>['file'];
	url: MarkdownInstance<T>['url'];
	headings: MarkdownHeading[];
	rawContent: MarkdownInstance<T>['rawContent'];
	compiledContent: MarkdownInstance<T>['compiledContent'];
}

Frequently Asked Questions

What is the MarkdownLayoutProps type?
MarkdownLayoutProps is a type/interface in the astro codebase, defined in packages/astro/src/types/public/content.ts.
Where is MarkdownLayoutProps defined?
MarkdownLayoutProps is defined in packages/astro/src/types/public/content.ts at line 65.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free