Skip to main content

Module frontmatter

Module frontmatter 

Source
Expand description

The frontmatter builder: emits link edges from frontmatter link-target values, plus the parsed frontmatter block as metadata on the file it read. It is colocated — its metadata is about its own file — so its drift rides the file’s fs hash; it contributes no hash of its own.

Functions§

build
Build the frontmatter graph fragment from text files, labeled label. filter scopes which paths the builder reads (None reads all). The fragment carries edges plus a node per file whose frontmatter parses to an object.