{ "type": "root", "children": [ { "depth": 1, "type": "heading", "children": [ { "type": "text", "value": "foo" } ] }, { "type": "paragraph", "children": [ { "type": "text", "value": "This function returns the number one.", "position": { "start": { "line": 1, "column": 1, "offset": 0 }, "end": { "line": 1, "column": 38, "offset": 37 }, "indent": [] } } ], "position": { "start": { "line": 1, "column": 1, "offset": 0 }, "end": { "line": 1, "column": 38, "offset": 37 }, "indent": [] } }, { "type": "strong", "children": [ { "type": "text", "value": "Examples" } ] }, { "type": "paragraph", "children": [ { "type": "emphasis", "children": [ { "type": "paragraph", "children": [ { "type": "text", "value": "demonstrates how to run foo", "position": { "start": { "line": 1, "column": 1, "offset": 0 }, "end": { "line": 1, "column": 28, "offset": 27 }, "indent": [] } } ], "position": { "start": { "line": 1, "column": 1, "offset": 0 }, "end": { "line": 1, "column": 28, "offset": 27 }, "indent": [] } } ], "position": { "start": { "line": 1, "column": 1, "offset": 0 }, "end": { "line": 1, "column": 28, "offset": 27 } } } ] }, { "lang": "javascript", "type": "code", "value": "foo(1);" }, { "type": "paragraph", "children": [ { "type": "text", "value": "Returns " }, { "type": "strong", "children": [ { "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", "type": "link", "children": [ { "type": "text", "value": "Number" } ] } ] }, { "type": "text", "value": " " }, { "type": "paragraph", "children": [ { "type": "text", "value": "numberone", "position": { "start": { "line": 1, "column": 1, "offset": 0 }, "end": { "line": 1, "column": 10, "offset": 9 }, "indent": [] } } ], "position": { "start": { "line": 1, "column": 1, "offset": 0 }, "end": { "line": 1, "column": 10, "offset": 9 }, "indent": [] } } ] } ] }