Open jvmlet opened 2 years ago
Handlebars allows that. If you want that look into Handlebars.java.
Thanks @agentgt, I'm aware about handlebars
Yes but your request seems kind of out of scope for a library that mostly follows the mustache spec.
Adding parameters basically makes it not logic-less and there is a library with a spec that has lambda with parameters aka handlebars.
@jvmlet Did you ever solve your problem?
I forgot to mention you could also use Mustache Lambdas and parse the section body or do a builder approach where you return a lambda that returns an object that has more lambdas.
If you are still interested I can show the builder approach with some code.
Is parametrized lambda supported ? Looking for something like below :