tera icon indicating copy to clipboard operation
tera copied to clipboard

Macro names can have underscores but not hyphens

Open xpe opened this issue 1 year ago • 2 comments

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.

xpe avatar May 09 '24 13:05 xpe

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

Keats avatar May 09 '24 14:05 Keats