pub fn node_from_map(
fm: &Map<String, Value>,
body: String,
) -> Result<Node, ParseError>Expand description
Build a node from already-parsed frontmatter (a JSON map) and a body. Shared by the file parser and by anything that receives a node as JSON (the server, the editor).