remark-assign-id-and-extract-toc

remark plugin to assign ids to Headings and extract it as a JavaScript Array for ToC processing