{{#with package}}
Markdown generator for atomdoc. Uses donna and tello.
See samples here.
#Installation Install with npm
npm install {{#if preferGlobal}}-g{{/if}} {`{name}`}
#Examples
atomdoc-md generate <path to module>
#Usage
atomdoc-md generate <module>
Options:
--doc, -o docs directory [default: "doc"]
--level, -l log level [choices: "debug", "verbose", "info", "warn", "error"] [default: "info"]
--template template name [default: "api"]
--meta write donna (donna.json) and tello (tello.json) metadata to doc dir
--name, -n generated file name [default: "api.md"]
AtomdocMD = require 'atomdoc-md'
generator = new AtomdocMD( options );
generator.generateMarkdown()
README.md# From the project's root
atomdoc-md generate -o . -n README.md .
The default template api will include files intro.md and appendix.md into the output.
The files must be located in the --doc docs directory.
{{/with}}
# API Class | Summary ------| ------------[MarkdownGenerator](#class-MarkdownGenerator) | Generates markdown from atomdoc/tello's metadata
### MarkdownGeneratorCLASS Generates markdown from atomdoc/tello's metadata
Methods |
|||
:: constructor( opt ) |
public | instance | MarkdownGenerator |
Create a new markdown generator |
|||
:: generateMarkdown( ) |
public | instance | MarkdownGenerator |
|
Writes markdown to the output file. Returns |
|||