shannonmoeller / gulp-hb

A sane Gulp plugin to compile Handlebars templates. Useful as a static site generator.
http://npm.im/gulp-hb
MIT License
147 stars 14 forks source link

A way to specify compile options #28

Closed gligoran closed 8 years ago

gligoran commented 8 years ago

It would be nice to have a way to specify the options for:

Handlebars.compile(template, options)

Begin able to set options like noEscape, strict, preventIndent, ignoreStandalone, etc., would be pretty useful.

shannonmoeller commented 8 years ago

Released as v3.0.0.

hb({ compileOptions: { ... } });