UNPKG

verb

Version:

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

25 lines (21 loc) 567 B
/** * 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. */ var verb = require('../'); /** * This example uses `html-comments.js` * in `./lib/plugins`. * * The plugin used regex to convert * HTML comments to valid Lo-Dash templates. */ var opts = { plugins: ['test/plugins/*.js'] }; var src = 'examples/templates/html-comments.md'; var dest = 'test/actual/html-comments.md'; verb.copy(src, dest, opts);