handlebars.scala
handlebars.scala copied to clipboard
A Scala implementation of the Handlebars templating language (a superset of Mustache).
Seems like this project is dead? We would love to get this PR merged (or commented on) https://github.com/mwunsch/handlebars.scala/pull/57, because then we don't need to maintain an internal forked version. What...
Thanks for the great library! I continue to use it in my modern Play Framework applications. This PR updates the build to use Sbt 1.1.2, Scala 2.12.4, play-json 2.6.9, The...
Is there a plan to add support for the new Scala version? I don't mind submitting a PR to get it done (assuming it's not blocked), but would like to...
passing context to partials so they have access to parent context if any.
Like `first name: {{people.0.first_name}}` Can I access the first one in a list like this?
`HelperOptions[T]` trait provides the `argument` method, which returns a single argument value. Is there any way to get a list of all argument values? My specific use-case is building an...
Fixes #75
When rendering strictly, the render method returns a list of errors instead of a template if it encountered any errors. fixes #70
This changes scalaVersion to 2.12, and cross-compiles to 2.12, 2.11 and 2.10. Dependencies have also been upgraded where necessary because older versions weren't available for 2.12.