1 # Docdown <sup>v1.0.0</sup>
8 ## <a id="docdown"></a>`docdown`
9 * [`docdown`](#docdown$optionsarray)
26 ### <a id="docdown$optionsarray"></a>`docdown([$options=array()])`
27 <a href="#docdown$optionsarray">#</a> [Ⓢ](https://github.com/jdalton/docdown/blob/master/docdown.php#L34 "View in source") [Ⓣ][1]
29 Generates Markdown from JSDoc entries in a given file.
32 1. `[$options=array()]` *(Array)*: The options array.
35 *(String)*: The generated Markdown.
39 // specify a file path
40 $markdown = docdown(array(
43 // url used to reference line numbers in code
44 'url' => 'https://github.com/username/project/blob/master/my.js'
48 $markdown = docdown(array(
49 // raw JavaScript source
51 // documentation title
52 'title' => 'My API Documentation',
53 // url used to reference line numbers in code
54 'url' => 'https://github.com/username/project/blob/master/my.js'
69 [1]: #docdown "Jump back to the TOC."