abp icon indicating copy to clipboard operation
abp copied to clipboard

How do you configure TextTemplating to use Include files.

Open Joebeazelman opened this issue 3 years ago • 3 comments

There's no documentation on how to configure templates to use include files. Scriban's documentation says TemplateContext needs to implement ITemplateLoader:

ITemplateLoader

Does this framework support it, or does it require some serious workaround?

Joebeazelman avatar Aug 03 '22 03:08 Joebeazelman

hi

How do you use ITemplateLoader without abp?

maliming avatar Aug 03 '22 08:08 maliming

I prefer to use apb to load the include file. I looked through the source and it doesn't implement ITemplateLoader anywhere. Does the framework support include through other means, or is it not supported at all?

How and where would I implement ITemplateLoader into apb? I could implement it in isolation, but it would be better to integrate it with apb since it already has the file handling infrastructure already in place.

Joebeazelman avatar Aug 03 '22 12:08 Joebeazelman

hi

Do you have an example that using the ITemplateLoader ?

maliming avatar Aug 04 '22 00:08 maliming

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 15 '22 18:10 stale[bot]