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

Macro names can have underscores but not hyphens #913

Open
xpe opened this issue May 9, 2024 · 1 comment
Open

Macro names can have underscores but not hyphens #913

xpe opened this issue May 9, 2024 · 1 comment

Comments

@xpe
Copy link
Sponsor

xpe commented May 9, 2024

The Tera macro documentation is silent on this matter (to my knowledge), but I've verified that macro names can have underscores but not hyphens. I think it would be nice to state this in the documentation.

@Keats
Copy link
Owner

Keats commented May 9, 2024

Yep sounds like the docs need to be updated. The exact available chars are https://github.com/Keats/tera/blob/master/src/parser/tera.pest#L54-L62

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

No branches or pull requests

2 participants