DIALECT-01: Anchor a block, resolve it with byAnchor
What it demonstrates
Section titled “What it demonstrates”A caret block-id (^id) terminating a block binds it for doc.byAnchor lookup.
Builds on: nothing — this is the first rung of Dialect: Anchors, Wikilinks, and Vault References.
How it’s done
Section titled “How it’s done”Commands, code, and output together; comments mark which is which.
## Decision| Choice | Owner || ------ | ----- || SQLite | Sam |^db-choice
// consumeconst doc = c.read(src, { path: "db.md" });doc.byAnchor("db-choice")?.kind; // "table"Surfaces exercised
Section titled “Surfaces exercised”^block-id dialect (anchors.ts)Doc.byAnchorBlockView.kindcontract.read