Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm surprised to find this posted here. I developed this and given the community here I'd appreciate any feedback for future iterations...


Many thanks! This is very nifty.

Since you asked…

1) Change tracking. Technical hurdles (and they're huge) aside, it would be great not to have these links break when text is added/removed.

2) Better onsite instructions. I knew how it was supposed to work, and it took me a bit to figure out that clicking a sentence highlighted it. Perhaps a tooltip?

3) A wordpress plugin seems easy/obvious :)

Many, many thanks for the good work!


I would add a convenient way for this to interact with already existing hashed links that are used for navigation.

Rather than the #p[...],h[...] how about #p=...&h=...?

EDIT: Or even #deeplink=p[...],h[...]


Its a fair point, and there were a number of ways it could have been done.

Given that there could be a long number of paramaters included for Highlighting I felt the [] gave a sense of belonging.

I like the #deeplink suggestion too, but in the end being as concise as possible was a factor.


I think the deeplink suggestion is good. If I stumbled across these urls, I might just think it was some evil tracking code or something and strip it off, deeplink is meaningful and gives me a clue that it does something clever. Great work btw.


Nice library. It looks like a great candidate for one of our upcoming projects.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: