Expand description
Wire format for the compiled site asset (note_XXX.json).
SiteAsset is the top-level output of crate::parse_document.
It contains:
schema— integer version so renderers can detect breaking changes.meta— parsed YAML frontmatter as a JSON value tree (native only).ast— array of MarkPlus block nodes (seecrate::ast).
Structs§
- Site
Asset - The JSON asset written to
dist/static_api/note_XXX.json.
Functions§
- parse_
frontmatter - Parse YAML frontmatter text into a JSON value tree (native targets only).