You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 23, 2025. It is now read-only.
some text
#{for i = 1, 4 do}#
#{= i}#
#{end}#
some more text
The output is something like:
some text
1
2
3
4
some more text
If I don't want these two empty lines, I would have to write everything into one line like:
#{for i = 1, 4 do}##{= i}##{end}#
This is really ugly to read though. Would you be willing to accept a pull request that would check if a line only contains a control flow template parameter and, if so, doesn't emit those empty lines. (This could be hidden behind some kind of configuration parameter if necessary).
If this is a feature that you think will fit into the scope of slt2, I'd take a look if it is possible to implement this.