#
DIFF.BLOG
New
Following
Discover
Jobs
More
Top Writers
Suggest a blog
Upvotes plugin
Report bug
Contact
About
Privacy
Sign up
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS
md-toc: markdown table of contents
·
Thiago Perrotta
·
Nov. 5, 2025, 1:05 p.m.
Git
development tools
Markdown
pre-commit hooks
Summary
The blog post introduces `md-toc`, a tool that automatically generates a table of contents for markdown files, and provides details on how to integrate it using pre-commit hooks in a Git repository.
Read full post on perrotta.dev →
MORE POSTS LIKE THIS
How to set up pre-commit hooks for a Python project
Python Developer Tooling Handbook – pydevtools.com ·
Jul 8, 2026
Python
Git
Scan for markdown broken links in your blog
Thiago Perrotta ·
Jan 1, 2025
Git
continuous integration
commit-rewriter 0.2
simonw ·
Sep 24, 2026
Git
Git
Git hooks
Flaviocopes ·
Aug 31, 2026
Git
Git Hooks
A gentle introduction to Git worktrees
Nicholas C. Zakas ·
Jul 14, 2026
Git
Version control
Copy as Markdown: AI-friendly blog posts
Thoughtbot ·
Jun 3, 2026
AI
Blogging
Discover more posts →
AUTHOR
Advertise
Sponsor diff.blog
Put your product in front of developers who read and write about their craft. One exclusive sponsor at a time.
Become a sponsor →
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google
By continuing, you agree to our
Privacy Policy
.