gulp-consolidate-render

1.3.3 • Public • Published

gulp-consolidate-render

npm version Build Status Dependency Status devDependency Status

A library for compiling and rendering via Consolidate.js

gulp.src("src/*.md")
  ...
  .pipe(consolidate({
    engine: "handlebars"
  }))
  ...

consolidate([options])

options

Type: Object

Options passed to gulp-consolidate-render

options.engine

Type: String

Engine name. Engine must be installed via npm.

options.globals

Type: Object

Global variables to feed to template.

options.compileData

Type: Function

Function to merge globals, file data, etc.

options.templateDir

Type: String

Template directory to prepend to template name

Readme

Keywords

Package Sidebar

Install

npm i gulp-consolidate-render

Weekly Downloads

8

Version

1.3.3

License

ISC

Last publish

Collaborators

  • sarahrooney
  • kamil.kecki
  • alexsomeoddpilot
  • megrymo