How to add a Table of Contents to your Medium Story

Vinicius De Antoni
Jul 25 · 2 min read

A Chrome extension that generates a table of contents for your Medium stories

Image for post
Image for post
Photo by Anthony Martino on Unsplash


Image for post
Image for post
An example of a Table Of Contents generated by TOC Medium

A Table of contents gives readers visibility of the multiple sections that are part of your story as well as helping them easily jump to specific sections.


Image for post
Image for post
TOC Medium — A chrome extension that generates Table of Contents

Currently, the Medium editor doesn’t provide a way to generate a Table of contents, that’s why I decided to create a chrome extension that allows writers to do that.

It works by adding another action to Medium’s editor: “Add a Table of Contents”. Upon selection, the extension finds all the heading tags and creates a list with their titles and links.

It can be found in the Chrome web store:

The extension is open source, and the source code can be found in Github. Feel free to reach out with any feedback, issues or feature requests.

Thanks for reading and happy writing!

Take care and I’ll see you next time.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store