metalsmith-excerpt

A Metalsmith plugin to add an excerpt to files.

metalsmith-excerpt

A Metalsmith plugin to add an excerpt to files.

$ npm install metalsmith-excerpt

Install via npm and then add the metalsmith-excerpt key to your metalsmith.json plugin, like so:

{
  "plugins": {
    "metalsmith-excerpt": true
  } 
}
var excerpt = require('metalsmith-excerpt');
 
metalsmith.use(excerpt());

MIT