metalsmith-excerpts

A Metalsmith plugin to extract an excerpt from Markdown files.

metalsmith-excerpts

A Metalsmith plugin to extract an excerpt from Markdown files.

$ npm install metalsmith-excerpts

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

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

MIT