tera
tera copied to clipboard
Macro names can have underscores but not hyphens
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.
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