Multiline template strings that don't break indentation

Salvador de la Puente González salva at
Thu Sep 11 23:28:31 PDT 2014

On 12 Sep 2014 07:40, "Sebastian Zartner" <sebastianzartner at>
> And if someone wants to use his own tag? Would he have to reimplement
dontIndent or String.noIndentation by himself?
> What I meant above with tag concatenation would be something like this:

AFAIK a couple of brackets around the second tag and the string do the

var a = tag1 (tag2 `Template`);

Though tag1 tag2 would be optimal.

>         var a = String.noIndentation myTag
>                 `This is a template string.
>                  Even though each line is indented to keep the
>                  code neat and tidy, the white space used to indent
>                  is not in the resulting string`;
> So first the template string would be parsed by String.noIndentation and
subsequently by myTag.
> Sebastian
> _______________________________________________
> es-discuss mailing list
> es-discuss at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list