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

macros (as in Jinja) #238

Open
snej opened this issue Mar 23, 2022 · 1 comment
Open

macros (as in Jinja) #238

snej opened this issue Mar 23, 2022 · 1 comment

Comments

@snej
Copy link

snej commented Mar 23, 2022

The macro feature in Jinja would be super great to have. I'm finding myself repeating lots of small snippets in my templates, things for which include in't well suited (too heavyweight and doesn't take parameters.)

@xahon
Copy link

xahon commented Jul 11, 2022

@snej Inlcude takes variables from current scope but it can't set output variables, unfortunately

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

3 participants