sempare / sempare-delphi-template-engine

Sempare Template (scripting) Engine for Delphi allows for flexible dynamic text generation. It can be used for generating email, html, reports, source code, xml, configuration, etc.
Apache License 2.0
144 stars 18 forks source link

'capture' could be introduced to capture template output into a variable #63

Closed sempare closed 1 year ago

sempare commented 2 years ago

template content could be captured into variables

<% capture x %>
    hello <% firstname %>
<% end %>

Output : <% x %>
sempare commented 2 years ago

Might want to have this support parameters, much like include

darnocian commented 1 year ago

not sure if this is useful. we have template support already.