On Mon, Oct 7, 2019 at 4:11 AM Lassi Kortela <xxxxxx@lassi.io> wrote:
https://github.com/srfi-explorations/srfi-from-asciidoc/blob/master/srfi-table-of-contents.scm

- Scans the given HTML file for <h2>..<h4> headings.
- Drops "title", "author", "status", "abstract", "table of contents".
- Generates <h2 id="_foo_bar_baz"> attributes for the headings.
- Writes the table of contents as nested <ul> lists to stdout.
- Finally writes a list of all the IDs for manual copy-pasting.

This is great!  Thanks.