Reputation: 7749
Is there a way I can create a subtemplate within a template file in T4? I need to reuse a snippet of template within the same template and a embedded function does not allow template based reuse.
Upvotes: 1
Views: 308
Reputation: 1409
You can use include.
<#@ include file="AnotherTemplate.tt" #>