getAstroMetadata() — astro Function Reference
Architecture documentation for the getAstroMetadata() function in rehype.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 7e74dba6_cfd0_cd14_8e9a_e891c1c2eb28["getAstroMetadata()"] 89da4403_ab4a_62fa_64f0_d53bd0b3aee8["rehype.ts"] 7e74dba6_cfd0_cd14_8e9a_e891c1c2eb28 -->|defined in| 89da4403_ab4a_62fa_64f0_d53bd0b3aee8 style 7e74dba6_cfd0_cd14_8e9a_e891c1c2eb28 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/jsx/rehype.ts lines 103–105
export function getAstroMetadata(file: VFile) {
return file.data.__astroMetadata as PluginMetadata['astro'] | undefined;
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does getAstroMetadata() do?
getAstroMetadata() is a function in the astro codebase, defined in packages/astro/src/jsx/rehype.ts.
Where is getAstroMetadata() defined?
getAstroMetadata() is defined in packages/astro/src/jsx/rehype.ts at line 103.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free