Assemble v0.6.x plugin for running any metalsmith middlewares
IMPORTANT! This plugin only works with Assemble v0.6 and greater.
Install with npm:
npm i assemble-metalsmith --save-dev
var metalsmith = require('assemble-metalsmith')(assemble);
metalsmith
.use(drafts())
.use(markdown())
.use(permalinks('posts/:title'))
.use(templates('handlebars'));
assemble.src('path/to/pages/*.hbs')
.pipe(metalsmith())
.pipe(assemble.dest('dist'));
Assemble plugin to run metalsmith middleware
Add a middleware or plugin to use.
middleware
{Function}: this is the middleware to run.return
{Object} this for chaining
Brian Woodward
Copyright (c) 2014 Brian Woodward, contributors.
Released under the MIT license
This file was generated by verb-cli on August 03, 2014.