pub fn render_snapshot( tree: &AxTree, refs: &mut RefTable, opts: &SnapshotOptions, ) -> Result<Snapshot>
Render the tree as indented YAML-ish lines, interning refs as it goes.