Skip to main content

Module format

Module format 

Source
Expand description

Writes a Node back out as a markdown file. The one place that decides what a canonical node file looks like, so files written by the editor, the CLI and the server are all byte-identical.

Layout: id, type, title (only if it differs from the id), parent, plane, fields, links, then the body.

Functions§

node_to_markdown
The file text for a node: ---, YAML frontmatter, ---, then the markdown body.