If you select a paragraph, for example, http://www.wired.com/gadgetlab/2010/01/ipad-flash/ and insert it into the word, you will notice that a link to this page has been added at the end of the paragraph.
Here is an example:
Some of Apple's promotional materials for the iPad include devices. The Safari browser can download Adobe Flash content. However, the tabletβs demonstration units, including those presented by Steve Jobs, could not, and the consumer has already filed a federal trade complaint with the Commission alleging false advertising.
Read more http://www.wired.com/gadgetlab/2010/01/ipad-flash/#ixzz0f2nM0huW
How do they do it?
They also add # ixzz0f2nM0huW at the end of the link, and when you follow the page, the selected text will be highlighted!
Is there a javascript library for this?
source share