mlx-bun library API
    Preparing search index...
    • Enumerate an article's routable sections from its markdown: every TOC heading deeper than the H1 title, minus the non-topical tail (References / See also / Notes), each carrying a ~2-sentence gist of its body. Pure — no model, no disk.

      Parameters

      • markdown: string

      Returns SectionCandidate[]