Extract Markdown table of contents (h1-h6 headings) with anchor slugs. Returns array of {level, text, anchor}. Use url param or ?text=markdown_here. Built for AI agents indexing docs, generating navigation, building doc search.