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

handlebars-helpers #8

Closed thezimmee closed 9 years ago

thezimmee commented 9 years ago

Hey, thanks for the module, I just started using it, just what I wanted! In your example you have:

'./node_modules/handlebars-helpers/lib/helpers/helpers-{dates,math}.js'

listed as a helper. I tried installing, but I got an error saying:

Cannot find module 'grunt'

Is handlebars-helpers compatible with gulp? I would really love to get the markdown helper helper you have there working...

Thanks again.

shannonmoeller commented 9 years ago

The handlebars-helpers version of certain helpers has a hard dependency on grunt to make use of some of the utility methods. This dependency has been removed from their new helpers that will be announced along with Assemble 1.0 shortly.

You can grab the new grunt-free markdown helper directly: https://github.com/helpers/helper-markdown

thezimmee commented 9 years ago

Thanks, this does work. Any idea when Assemble 1.0 will be released so I can check out handlebars-helpers in gulp?

shannonmoeller commented 9 years ago

I wish I did. I really like the new direction they took with it. Highly recommended for situations where gulp-hb doesn't quite cut it.

thezimmee commented 9 years ago

I'll have to check out out when it comes out, but gulp-hb is great! Thanks again!

On Sat, Mar 21, 2015, 9:03 AM Shannon Moeller notifications@github.com wrote:

I wish I did. I really like the new direction they took with it. Highly recommended for situations where gulp-hb doesn't quite cut it.

— Reply to this email directly or view it on GitHub https://github.com/shannonmoeller/gulp-hb/issues/8#issuecomment-84366293 .