Function: parsePage()
parsePage(
id,raw):WikiPage
Defined in: packages/agentos/src/cognition/substrate/memory/wiki/WikiPageCodec.ts:27
Parse a page file's content into a WikiPage. id is the caller-known relative id.
The front matter is read as data: a block marked as JavaScript is dropped, never evaluated.
Blank lines between the front matter and the body are dropped, and the body's first line
keeps its indentation.
Parameters
id
string
raw
string