{"categories":[{"label":"Markup","url":"https://skillfed.io/packages/category/text-processing-markup/2"},{"label":"Documentation","url":"https://skillfed.io/packages/category/documentation/2"}],"enrichment":{"capability":"Mdformat-toc is an mdformat plugin that automatically generates and maintains a table of contents in Markdown files, with configurable heading levels and anchor generation.","skillfed_tags":["markdown-tooling","documentation-automation"],"use_cases":["Auto-generate and keep a table of contents synchronized in long Markdown documentation files.","Maintain consistent heading-to-anchor mappings across GitHub and GitLab hosted Markdown.","Integrate ToC generation into CI/CD pipelines that already use mdformat for Markdown formatting.","Generate navigable ToCs in README files without manually updating links when headings change.","Configure heading-level filtering to create ToCs that exclude top-level or deeply nested headings."],"what_it_does":"Mdformat-toc extends mdformat, a Markdown formatter, with the ability to automatically generate and update a table of contents. You mark a location in your Markdown file with an HTML comment (<!-- mdformat-toc start -->), then run mdformat, and the plugin generates a ToC listing the headings in your document at that location.\n\nBy default, the plugin creates HTML anchors for each heading so ToC links work across different Markdown renderers. You can configure which heading levels to include, disable anchor generation, and choose between GitHub and GitLab slug functions for link generation. The plugin is designed to work with mdformat's standard formatting workflow and requires only mdformat as a runtime dependency.","worth_installing":"Yes, if you use mdformat and need automated table-of-contents generation in Markdown files. The package is straightforward to install, has no security vulnerabilities, and works with current Python versions. The 303-day gap since last release suggests maintenance rather than active development, but the repository is not archived and the plugin remains functional for its intended use."},"id":"mdformat-toc","links":{"html":"https://skillfed.io/packages/mdformat-toc","md":"https://skillfed.io/packages/mdformat-toc.md","pypi":"https://pypi.org/project/mdformat-toc/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-10-15","license_spdx":null,"license_treatment":"permissive","name":"mdformat-toc","python_support":"supports_current","summary":"Mdformat plugin to generate table of contents"},"popularity":{"monthly_downloads":105855,"position":12675,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.5.0"}
