Automatically Generating A Table Of Contents For Your Medium Article

synapticloop
12 min readJul 18, 2022

Or… With a bit of jiggery pokery through Tampermonkey and Firefox (although Tampermonkey supports most browsers), you can automatically generate a list of the headings — which can then be easily formatted into a table of contents.

A Table of Contents is like index cards at a library — make it easy to find content — Photo by Ryunosuke Kikuno on Unsplash

Update

I have tried to get this to work on the Mobile app — but it does not — sorry.

--

--