branaway / Japid

A Java-based statically-typed fast template engine that can be used in any Java code. It has special adapter for use with the Play! Framework.
113 stars 18 forks source link

[optimization] - add support for multi-lines syntax of tag/template invocation #17

Closed tunggad closed 13 years ago

tunggad commented 13 years ago

With current syntax all passed parameter, named or positional, must be on same line with ``tag myTag ... But sometime we have to pass alot of parameters and they are long --> the invocation quickly becomes to look confused, not reader-friendly.

branaway commented 13 years ago

version 0.8.6 added using back slash as a universal line continuation symbol. It works in any context.

tunggad commented 13 years ago

very cool, i will try it right now.

tunggad commented 13 years ago

version 0.8.6 - line-continuer \ worked fine in tag/temlate invocation.