UNPKG

verb

Version:

Verb makes it easy to build project documentation using simple markdown templates, with zero configuration required.

21 lines (20 loc) 476 B
## Release History {% if (history) { var i = 0; _.each(history, function(change) { change.version = _.keys(history)[i]; if (change.date instanceof Date) { change.date = moment(change.date, 'YYYY-MM-DD').format('YYYY-MM-DD'); } // Print out the columns print('\n * ' + [ change.version, change.date, change.changes.join(' '), ].join('\u2003\u2003\u2003')); // Increment i++; }); } else { %} _(Nothing yet)_ {% } %}