A simple programmatic markdown document generation library.
Install with NPM: npm install follet --save-dev
const follet = require('follet');
// Generate a markdown file from the JSDocs in the src directory (returns a promise)
follet.jsdoc.generateMd('src/*', 'jsdoc.md');
// Generate a markdown file from a swagger spec (returns a promise)
follet.swagger.generateMd(require('spec.json'), 'swagger.md');
By default, follet generates github flavoured markdown. To change to bitbucket, simply do the following:
const follet = require('follet').setMdFlavour('bitbucket');