gi / handlebars-ruby

A Ruby interface to the official JavaScript version of Handlebars.
MIT License
5 stars 0 forks source link

Extra handlebars helpers #19

Open jfanals opened 2 years ago

jfanals commented 2 years ago

Hi @gi thank you for writing this great gem.

I built a very simple server than basically runs sinatra + this gem as a template engine. I was very pleased to see that you can also register the handlebars helpers. I just added one and it works great :) https://github.com/RevenueHunt/handlebars-as-a-service/blob/main/server.rb#L14

I will be adding them as I need them, but it would be great to have the option to automatically add other helpers such as https://github.com/helpers/handlebars-helpers

Thank you again for sharing your great work.

gi commented 2 years ago

@jfanals Thanks for the suggestion. I have been thinking the same thing. I will gladly add them.