Insights
One heading, many entry points
A small idea from a teammate led to a simple implementation that transformed how long-form articles can be shared. By automatically generating anchor links from H2 headings, one article gains many meaningful entry points.
July 26, 2026
/
Reading Time

Long-form articles often contain several ideas worth sharing individually. The challenge is making it easy for readers to land on the specific section that sparked their interest, rather than asking them to start at the top every time.

While working on a recent project, a teammate suggested an interesting idea: what if individual sections within an article could become destinations in their own right? The concept was simple—rather than sharing a link to the beginning of an article, social posts could direct readers to the specific section being discussed.

That led me to explore a lightweight implementation that automatically generates IDs for every H2 heading within a rich text article. For example:

<h2>Design systems: thoughts on semantic naming of buttons</h2>

becomes:

<h2 id="design-systems-thoughts-on-semantic-naming-of-buttons">
 Design systems: thoughts on semantic naming of buttons
</h2>

The implementation is straightforward, but the implications are more interesting.

Instead of sharing a link to the beginning of an article, each social media post can point directly to the section it references. Someone interested in semantic naming doesn't need to scan through the entire page, they arrive exactly where the discussion begins.

It also changes how long-form content can be promoted. One article no longer has a single entry point. Each substantial section becomes an opportunity to explore a specific idea while still strengthening the original article as the central source.

Because the IDs are generated from the heading text, there's little ongoing maintenance. As new sections are added, they automatically become addressable without manually creating anchors or managing a list of identifiers.

What started as a conversation about making articles easier to share ultimately became a lightweight content distribution system. Every H2 now serves two purposes: it structures the article for readers and provides a stable destination for future links across social media, newsletters, and documentation.

It's a reminder that some of the most useful systems emerge from collaborative thinking. One person recognizes an opportunity, another finds a practical way to implement it, and the result quietly improves the workflow without changing how anyone writes their content.

Sign up for our newsletter.

Thoughts and reflections from our creative journey.
Learn how we handle your data in our privacy policy.
Thank you. Your message has been sent.
Something went wrong with your submission.