Skip to content

Programmatic markdown document generation library

Notifications You must be signed in to change notification settings

miratronix/follet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

follet

A simple programmatic markdown document generation library.

Installation

Install with NPM: npm install follet --save-dev

Usage

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');

Markdown Flavours

By default, follet generates github flavoured markdown. To change to bitbucket, simply do the following:

const follet = require('follet').setMdFlavour('bitbucket');

About

Programmatic markdown document generation library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published