Generated documentation
Last updated 2 years ago by stemey .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install count-docu 
SYNC missed versions from official npm registry.

This npm module helps generate a single html page from a set of markdown files, images and plantuml documents.

How to use

Greenkeeper badge

Features are best explored by looking into the documentation.


You have to install pandoc:

Install Graphviz for UML diagrams via plantuml

For PDF generation install wkhtmltopdf.

How to integrate

to start the generation:


The options available are as follows:

property default description
targetPath {cwd}/dist path to folder where the generated html is put
source {cwd}/src path to folder containing the markdown files
template - path to main handlebars template
targetHtml {cwd}/dist/index.html html file
title Documentation title of documentation
description .. description displayed below title
pdf false render html for conversion to pdf
pdfDownload false add a download link to 'index.pdf'
description .. description displayed below title
maxCommits - number of git commits to be displayed in history
headerColor #fff color of title
headerBgColor #563d7c color of header
headerDescriptionColor #cdbfe3 color of description


To render a pdf version use wkhtmltopdf (>0.12.4 with patched qt) which renders proper links and table of content

wkhtmltopdf --page-size A4 --viewport-size 1024x768 --disable-smart-shrinking --zoom 5.5 --outline dist/pdf.html dist/index.pdf



This software includes the awesome plantuml library (MIT license) from


Modified bits and pieces from node-plantuml) are included in this software.

Current Tags

  • 0.1.8                                ...           latest (2 years ago)

9 Versions

  • 0.1.8                                ...           2 years ago
  • 0.1.7                                ...           2 years ago
  • 0.1.6                                ...           3 years ago
  • 0.1.5                                ...           3 years ago
  • 0.1.4                                ...           3 years ago
  • 0.1.3                                ...           3 years ago
  • 0.1.2                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 11
Dependencies (10)
Dev Dependencies (0)
Dependents (0)

Copyright 2014 - 2016 © |