Skip to content

Conversation

@theoryshaw
Copy link
Member

  • Add {{variable}} syntax for element property references
  • Add arithmetic operators: +, -, *, / with proper precedence
  • Extend format() with optional element parameter
  • Variables work with all format functions (imperial_length, round, etc.)
  • Maintains full backward compatibility

Example: format("imperial_length({{z}} / 2, 4)", element)

- Add {{variable}} syntax for element property references
- Add arithmetic operators: +, -, *, / with proper precedence
- Extend format() with optional element parameter
- Variables work with all format functions (imperial_length, round, etc.)
- Maintains full backward compatibility

Example: format("imperial_length({{z}} / 2, 4)", element)
@theoryshaw theoryshaw requested a review from Andrej730 November 25, 2025 21:46
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

Successfully merging this pull request may close these issues.

2 participants