-
-
Notifications
You must be signed in to change notification settings - Fork 793
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
When referencing a label, I want to indicate the end with a ;
.
#4172
Comments
We can look into allowing that. In the meantime, you can write |
I'd caution against allowing ; for this purpose. It's not uncommon that you want to use an actual semicolon after a reference, and with this change you would be forced to escape it. |
I'd prefer the proposed syntax (that you didn't like) here #3010 over this |
Ah right, I knew there was something ... but couldn't remember. |
The notation that surrounds the beginning and end with parentheses is cumbersome. When you realize that you need to indicate the end of a label after writing |
Description
In the current Typst syntax, writing
a@lb
references<lb>
, but if I want to reference<l>
, writinga@l b
results in an unwanted space betweenl
andb
instead of referencing<l>
.I find it strange that, while in code starting with
#
, we can avoid spaces by indicating the end with a;
, we cannot do the same with labels.Use Case
As per the Title
The text was updated successfully, but these errors were encountered: