gulp-consolidate-render
v1.3.3
Published
A library for compiling and rendering via Consolidate.js
Downloads
8
Readme
gulp-consolidate-render
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