-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add support for adding labels (ids) to steps #56
Comments
Would this work with a step used anywhere in the entire document? if so, perhaps it should be namespaced under the name of the abstract operation? |
I went with a slightly different syntax in #74: |
Does that mean the label must be unique across the whole document? |
Yup. That's not such a constraint, though; you don't really end up referring to individual steps that often. Ecma262, which is not a small document, currently has 59 steps which are referred to. |
Needed to avoid tc39/ecma262#1835 from happening again.
Proposed syntax:
Allow
<label_name>:
in ordered lists, where<label_name>
matches the regular expression:Example:
[step Is_Foo_$1]
would be replaced with an anchor link linking to the labeled step with the HTMLstep ${num}
, where${num}
is the number of the step.See also:
The text was updated successfully, but these errors were encountered: