-
Notifications
You must be signed in to change notification settings - Fork 17
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
How to add ID to an element? #154
Comments
In my understanding, these ids were assigned by old document generation tool based on xml/sgml used during 1st ed to 2nd ed period, and not fully used (just kept as is) for now. |
Related: #7 |
(I think I might miss something on respec behavior, while checking various outputs.) |
Here are various thoughts:
|
I made a simple demo that might be an inspiration for this feature: https://xfq.github.io/testing/jlreq-li-self-links/#id248 Relevant JavaScript code: https://github.com/xfq/testing/blob/eba3b823556d88ec2ed025a5e819cd5ea669df82/jlreq-li-self-links/script.js#L144-L152 |
Sorry that I've commented (in the past) with wrong understanding, that the last script block L24579-L24600 is active and some parts are assigned by that... |
Note, this demo also works with postProcess in respec: |
I agree that this is an issue, but this method might not work if:
We can solve |
Running codes on console over current HEAD of jlreq (at github.io) over 'selection li' and 'selection div.note', nothing was listed. So I believe there is no unassigned item made by recent changes.
So, let me mark this as future, but not a blocker for planned release by #141. |
Note: we need to modify EDITING.md also when we settle this in future. |
Removed label jlreq-doc:editorial. Added jlreq-doc:enhancement. Will evaluate for jlreq-d. |
We should probably mention how to add ID to an element in EDITING.md.
For example, if I want to add a new
li
after id250, what id should I use? There is already an id251 so I shouldn't use it./cc @r12a
The text was updated successfully, but these errors were encountered: