Deprecated, see https://www.npmjs.com/package/marked-man for a replacement that uses a better-maintained markdown parser.
This outputs doc.roff from a markdown file :
ronn.js --build --roff doc.md
Command-line options are listed with --help
When file argument is omitted, ronn.js reads standard input.
markdown-js parses markdown text to a document model, which in turn is used to ouput a man page.