Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested Templates #397

Open
benjaminschreck opened this issue Jan 3, 2025 · 1 comment
Open

Nested Templates #397

benjaminschreck opened this issue Jan 3, 2025 · 1 comment

Comments

@benjaminschreck
Copy link

I am not sure if this is a feature request or if it is already possible with this library.
I would like to reference another (sub)template in my main template to achieve reusable snippets for multiple templates.

I have something like this in mind:

A docx (fullname.docx) with the content:
{firstname} {lastname}

In another document I would like to use this docx in the templating.
The syntax in the main template could look something like this:

The fullname is {template: fullname.docx}

@jjhbw
Copy link
Collaborator

jjhbw commented Jan 4, 2025

No I'm afraid that's not possible currently. Marking this as feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants