metalsmith-headings (npm): A Metalsmith plugin that extracts headings from HTML files and attaches them to the file's metadata.
Keywords: headings|html|metalsmith|metalsmith-plugin