UNPKG

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.

12 lines (8 loc) 263 B
/** * Example verbfile that defines custom tags. */ var verb = require('../'); var src = 'examples/templates/custom-tag.md'; var dest = 'test/actual/custom.tag.md'; verb.copy(src, dest, {tags: ['examples/tags/*.js']}); verb.log.success('Written to:', dest);