How to add a Table of Contents to your Medium Story

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


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.


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.

Software Engineer -

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