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

Nested anchors and String Shorthand for Path and Border Anchors #523

Merged
merged 6 commits into from
Mar 16, 2024

Conversation

fenjalien
Copy link
Member

Supersedes #389. Closes #382 and #466

  • Updated manual
  • Updated tests
  • Upated changelog

@fenjalien fenjalien added this to the 0.2.2 milestone Mar 6, 2024
@fenjalien fenjalien self-assigned this Mar 6, 2024
@@ -385,3 +385,25 @@
}
return body
}


#let str-to-number-regex = regex("^(-?\d*\.?\d+)(cm|mm|pt|em|in|%|deg|rad)?$")
Copy link
Member

@johannes-wolf johannes-wolf Mar 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we allow scientific notation here?
^(-?\d*\.?\d+)([eE][+\-]?\d+)?(cm|mm|pt|em|in|%|deg|rad)?$

@johannes-wolf johannes-wolf self-requested a review March 7, 2024 23:17
@johannes-wolf johannes-wolf merged commit 2e2ddcb into cetz-package:master Mar 16, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow Nested Element/Anchor Access
2 participants