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

Access to originally defined external terms #1705

Open
sidvishnoi opened this issue Jun 12, 2020 · 1 comment
Open

Access to originally defined external terms #1705

sidvishnoi opened this issue Jun 12, 2020 · 1 comment

Comments

@sidvishnoi
Copy link
Member

sidvishnoi commented Jun 12, 2020

When Bikeshed updates anchor data from Shepherd, it lower cases lowercaseTypes, which is a good thing.
While searching for terms like sRGB, UTF-8, default toJSON steps etc, it would be nice if there was a way to access the originally defined term, and not just the lowercase ones. This would benefit fuzzy searching at https://respec.org/xref as well as bikeshed refs.

In short, consider adding a originalTerm to https://github.com/tabatkins/bikeshed/blob/b76f9052e04d33f3db06c129524d656843a82f35/bikeshed/update/updateCrossRefs.py#L335-L344

cc: @marcoscaceres

Probably related: #881, #861

@marcoscaceres
Copy link
Contributor

This would be really helpful for when suggesting "how to cite" terms... right now, for example, we are suggesting "[=srgb=]" for sRGB, which is not great :( same for the others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants