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 #131

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

Nested Templates #131

benjaminschreck opened this issue Jan 3, 2025 · 1 comment
Labels
feature request New feature or request

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}

@alonrbar alonrbar added the feature request New feature or request label Jan 6, 2025
@alonrbar
Copy link
Owner

alonrbar commented Jan 6, 2025

Thank you for your suggestion. That's not something that is currently supported but you can always suggest a PR and I'll be happy to go over it.

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

No branches or pull requests

2 participants