verb
Version:
A project without documentation is like a project that doesn't exist. Verb solves this by making it dead simple to generate docs, using simple markdown templates, with zero configuration required.
18 lines (15 loc) • 399 B
JavaScript
/**
* Verb <https://github.com/assemble/verb>
* Generate markdown documentation for GitHub projects.
*
* Copyright (c) 2014 Jon Schlinkert, Brian Woodward, contributors.
* Licensed under the MIT license.
*/
const repeat = require('repeat-string');
module.exports = function () {
var tags = {};
tags.nl = function (num) {
return repeat('\n', Number(num) || 1);
};
return tags;
};