Medium's highlighting feature is pretty cool and there's even more you could do with this on a platform like dev.to in my opinion. But I've long been unsure about how you'd go about building it with these things in mind:
- What happens if the author edits the highlight? Does it remain with some form of fuzzy-matching? At what point is a passage fully changed?
- How would you approach collisions? Like, I highlight this half of the passage and you highlight another. This is something I've wondered about Genius's annotations.
I haven't used these features on Medium/Genius much, so maybe the solution is clearer to the user, but either way I'd love some thoughts about how this would be done.