markdown-slugger is a lightweight Java library for processing Markdown files. It extracts headings, generates URL-friendly slugs, builds nested tables of contents (TOC), and injects anchor IDs for compatibility with tools like Pandoc and EPUB. Highly configurable and easy to integrate.