Skip to main content

WordPress Emphasis Plugin: Highlight and Permalink Text

1 min read
: One-click implementation of the New York Times open source emphasis script as a WordPress plugin which allows for highlighting and permalinking of text on a paragraph and sentence level.
Screenshot of the plugin in use

The New York Times recently open-sourced their nifty wizardry which allows users to highlight and link to specific text within an article or post. In their own words:

Emphasis provides dynamic paragraph-specific anchor links and the ability to highlight text in a document, all of which is made available in the URL hash so it can be emailed, bookmarked, or shared.

I adapted the New York Time’s implementation into a three-line WordPress plugin for my own site, and it is available in the WordPress plugin repository as a one-click install, to add it to your own.

The “deep links” plugin allows for permalinking and highlighting of text on a paragraph and sentence level. No need to set anything up. Just install, tap shift twice, and start highlighting.

Originally published January 11, 2011 View revision history
Share

More to explore

WordPress as a Collaboration Platform

1 min read

A presentation on how teams use WordPress beyond publishing, from collaborative document editing to progress tracking and workflow integration.

Intro to GitHub for non-technical roles

10 min read

GitHub isn't just for developers. A practical guide for non-technical roles to follow along, collaborate, and track work with confidence.

How I Atom (for prose)

5 min read

A detailed look at the packages, prose linters, and configuration tweaks I use to turn the Atom text editor into a powerful Markdown writing environment.

Ben Balter

I'm Ben Balter — I write here about engineering leadership, open source, and showing your work. I wrote Open & Async, the playbook for remote and distributed teams. My open source projects have hundreds of millions of downloads. I was the Director of Hubber Enablement at GitHub, where I helped thousands of GitHubbers do their best remote work. Before this role: Chief of Staff for Security, enterprise PM, and GitHub's first Government Evangelist. Before GitHub: attorney, Presidential Innovation Fellow, and member of the White House's first agile development team. More about the author →

Follow along: Bluesky LinkedIn

This page is open source Help improve this article on GitHub