0.1.1 • Published 10 years ago
metalsmith-excerpt v0.1.1
metalsmith-excerpt
A Metalsmith plugin to add an excerpt to files.
Installation
$ npm install metalsmith-excerpt
CLI Usage
Install via npm and then add the metalsmith-excerpt
key to your metalsmith.json
plugin, like so:
{
"plugins": {
"metalsmith-excerpt": true
}
}
Javascript Usage
var excerpt = require('metalsmith-excerpt');
metalsmith.use(excerpt());
License
MIT