Knotx / knotx

Knot.x is a highly-efficient and scalable integration framework designed to build backend APIs
https://knotx.io
Apache License 2.0
126 stars 26 forks source link

Hard to find list of available helpers to be used within Handlebars snippets #464

Closed pun-ky closed 5 years ago

pun-ky commented 6 years ago

Consider adding at least link or a nice table with sample usages of all available built-in handlebars extensions. There is a documentation notes about how to extend / write own extensions but the list of currently available is missing :/ https://github.com/Cognifide/knotx/wiki/HandlebarsKnot

The answer for me was just to find that class:

https://github.com/Cognifide/knotx/blob/master/knotx-knot/knotx-knot-handlebars/src/main/java/io/knotx/knot/templating/helpers/DefaultHandlebarsHelpers.java

marcinczeczko commented 6 years ago

I know it's not solving the issue. But when you already started looking for available helpers, there are some that are available here: https://github.com/Knotx/knotx-handlebars-extension

malaskowski commented 6 years ago

@pun-ky thanks for this issue. We are currently building new module knotx-template-engine that will replace existing knot-handlebars in the future. Section with the handlebars examples is a must have there.

malaskowski commented 5 years ago

Done: https://github.com/Knotx/knotx-template-engine#handlebars-helpers-and-features