Expand description
Per-extension loaders: bytes -> Loaded { data, content } for schema
validation. MatterLoader runs the full mdx compile; YamlLoader /
JsonLoader parse data files directly.
Structs§
- Json
Loader - Loaded
datais frontmatter for mdx, the whole doc for yaml/json.- Loader
Registry - Ordered loader chain; first match wins.
- Matter
Loader .md/.mdx/.markdown. StashesCompileOutputunderdata.__compiledso the schema can refine it (e.g.transform: ctx => ctx.html).- Yaml
Loader