Tocbot – Create a table of contents based on the html heading structure
Tocbot - Generate a table of contents based on the heading structure of an html document
Tocbot – Create a table of contents based on the html heading structure launched on May 11, 2016 with 7 votes and more than 50% of that year's launches. The site was still online in September 2026, 10 years on.
What it does
Tocbot builds a table of contents (TOC) from headings in an HTML document. This is useful for documentation websites or long markdown pages because it makes them easier to navigate. This library was inspired by Tocify , the main difference is that Tocbot uses native DOM methods and avoids the jQuery & jQuery UI dependencies. You can use npm to install it or include the script on the page with HTML. Include the script at the bottom of the page before the closing body tag. CSS is used for expanding & collapsing groupings and some basic styling. Initialize the script at the bottom of the page before the closing body tag. NOTE: Make sure the body is scrollable and the document headings have id…from tscanlin.github.io
Does a similar job
all alternatives →


T2b – A wicked-powerful text macro language for building binary files2018 · github.com · ▲117A wicked-powerful text macro language for building binary files. - thosakwe/t2b
OneToc2023 · microsoftedge.microsoft.com · ▲3Generate table of contents on web page, make reading easier
Single-header C++11 HTML document constructor2018 · github.com · ▲87A C++ HTML document constructor only depending on the standard library. - tinfoilboy/CTML
More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 3d ago · permit.petercai.com
- IV
Life & fun · 15d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 16d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 10d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 14d ago · carrierexplode.com

Life & fun · 24d ago · space.bl2.net
Source: Show HN post ↗
Launched alongside, May 2016
the whole month →
Gboard by Google▲1,207Google Search, GIFs, emojis & more—right from your keyboard
Life & fun · 2016 · apps.apple.com




