---
title: "Generate Table of Contents (TOC) for Markdown Online"
url: https://daily.dev/posts/generate-table-of-contents-toc-for-markdown-online-akp1afpwq
source_url: https://derlin.github.io/bitdowntoc/
type: article
source: "Community Picks"
published: 2024-08-26T17:02:35.588Z
updated: 2026-03-15T05:21:09.615Z
tags: ["bitbucket", "devtools", "github", "markdown", "open-source"]
reading_time: 1
upvotes: 26
comments: 2
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Generate Table of Contents (TOC) for Markdown Online

**[Community Picks](https://daily.dev/sources/community)** · 1 min read · 26 upvotes · 2 comments

## Summary

BitDownToc is a tool for generating a table of contents (TOC) for Markdown files with pre-defined profiles for platforms like BitBucket, GitLab, GitHub, dev.to, and hashnode. It supports HTML anchors for navigational purposes and is freely available as an open-source terminal tool. The position of the TOC can be controlled using the [TOC] marker.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://derlin.github.io/bitdowntoc/>

## Community discussion

Top comments from developers on daily.dev.

**@timnekk** · 1 upvotes

> I've been using `BitDownToc` for my Markdown files on GitHub and it's been a game-changer - the ability to control TOC placement with `[TOC]` marker and generate anchors for navigational purposes has really streamlined my documentation workflow 🙌.

**@whotookmymangos** · 0 upvotes

> Helpful tool for starter template ^^

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments
- [CNCF Unveils Schedule for KubeCon \+ CloudNativeCon Europe 2026](https://daily.dev/posts/cncf-unveils-schedule-for-kubecon-cloudnativecon-europe-2026-ikhcoa5cb) · CNCF · 2 upvotes · 0 comments
- [CNCF Debuts KubeCon \+ CloudNativeCon Japan 2026 Schedule](https://daily.dev/posts/cncf-debuts-kubecon-cloudnativecon-japan-2026-schedule-xp5pyudub) · CNCF · 1 upvotes · 0 comments

---

Tags: [#bitbucket](https://daily.dev/tags/bitbucket), [#devtools](https://daily.dev/tags/devtools), [#github](https://daily.dev/tags/github), [#markdown](https://daily.dev/tags/markdown), [#open-source](https://daily.dev/tags/open-source)

[View this post on daily.dev](https://daily.dev/posts/generate-table-of-contents-toc-for-markdown-online-akp1afpwq)
