Tools for working with Tree format
const tree = $mol_tree2_from_string(`
foo
bar
lol
hello \\world
`)
const tree_json = $mol_tree2_from_json({ hello: [ 'world' ] })
const tree_xml = $mol_tree2_xml_from_dom( document.body )
Tools for working with Tree format
const tree = $mol_tree2_from_string(`
foo
bar
lol
hello \\world
`)
const tree_json = $mol_tree2_from_json({ hello: [ 'world' ] })
const tree_xml = $mol_tree2_xml_from_dom( document.body )