粘贴 Markdown,自动生成带锚点链接的目录,支持重复标题和最大层级。
<iframe src="https://lucentool.com/zh/markdown-toc" width="100%" height="650" style="border:1px solid #e5e0d8;border-radius:12px;max-width:850px;width:100%;" frameborder="0"></iframe> <div style="font-size:12px;color:#78716c;margin-top:6px;font-family:sans-serif;">Powered by <a href="https://lucentool.com/zh/markdown-toc" target="_blank" style="color:#c85a32;text-decoration:none;">Lucentool - Markdown 目录大纲 (TOC) 自动生成</a></div>
工具根据标题文本生成类似 GitHub 的 slug;同名标题会追加数字后缀。它只生成目录,不会改写原文档。