Table of Contents, + header anchor links

This may be a theme-by-theme feature, but a table of contents is sometimes handy for users wanting to get an overview of longer posts or pages.

It could automatically capture headings β†’ turn them into anchor links which are subsequently inside a sticky list on the right or left or top of the page. On mobile, sometimes this is added to a small, collapsed menu.

A separate, but related feature is to make headings clickable anchor links so that users who want to share the URL to a specific heading can just click the heading + copy the URL (or right-click a heading and copy that URL).

An example of both features:

If you click any of the H2 headings, such as Reference, they'll change the site URL to that (e.g,. an ID is set and the text is a link to its own ID). Also, on the right side, we have a sticky table of contents with large clickable headings + highlighting when in view.

Please authenticate to join the conversation.

Sign in / Register β†’




πŸ™ Feature Requests


8 days ago



Subscribe to post

Get notified by email when there are changes.