3 ms·
Fork it! (oh, and tap Shift key 2 times, not 4) Take a look at the Source on Github which has been updated from the original I wrote for the NYT. It also now
by donohoe 15y ago
Fork it!
(oh, and tap Shift key 2 times, not 4)
Take a look at the Source on Github which has been updated from the original I wrote for the NYT. It also now uses jQuery (NYT was dependent on PrototypeJS)
https://github.com/NYTimes/Emphasis https://github.com/NYTimes/Emphasis
Its a nifty project to contribute to and I welcome updates and discussion.
- emehrkay 15y agoThat seems like a lot of code to, from a simple guess, shows/hides a hyperlink.
- brokentone 15y agoIt enables paragraph based linking and paragraph (or sentence) based highlighting. With error correction in case the article has changed. Don't guess, read the release notes (http://open.blogs.nytimes.com/2011/01/11/emphasis-update-and-source/ http://open.blogs.nytimes.com/2011/01/11/emphasis-update-and... as noted many times in the comments here).
- emehrkay 15y agoMy ignorance, I skipped straight to the src after playing with the shift key. This is some damn cool stuff after reading the link.
- ricardobeat 15y agoThe pilcrow is too small. It's a small target, and I barely noticed them - I stood here tapping shift repeatedly until I quit and came to the comments to see what it was about... the grey background is also almost invisible.