4 ms·
This is not rare at all, I use it almost every time I link to a wikipedia article, for example: https://en.wikipedia.org/wiki/Newton%27s_method#Examples https:/
by creato 8y ago
This is not rare at all, I use it almost every time I link to a wikipedia article, for example: https://en.wikipedia.org/wiki/Newton%27s_method#Examples https://en.wikipedia.org/wiki/Newton%27s_method#Examples
That said, it seems easy to make this backwards compatible: if the existing #blah syntax is a valid link, that should take precedence.
FWIW, I think there's way too much cynicism in this thread. My first reaction on seeing the title was "cool! I would use that!".
edit: Hmm, I may have misunderstood the compatibility issue.
- bokan 8y ago> That said, it seems easy to make this backwards compatible: if the existing #blah syntax is a valid link, that should take precedence. That's indeed how it works. The majority of the compatibility concerns appear to be with apps that a using _custom_ parsing of the fragment to perform app-specific logic, which is a valid concern.
- kiliancs 8y agoAngular 1 does this.
- tedmiston 8y agoThe parent comment's example includes a trailing equals sign on the fragment that could be used to differentiate (#targetText= vs #targetText).
- adrianmonk 8y agoFYI, there's even a Chrome extension that makes this easier: https://chrome.google.com/webstore/detail/display-anchors/poahndpaaanbpbeafbkploiobpiiieko https://chrome.google.com/webstore/detail/display-anchors/po...