Skip to content

SomeoddpilotInc/gulp-consolidate-render

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A library for compiling and rendering via Consolidate.js

Resources

Stars

Watchers

Forks

Packages

No packages published