adding table of contents to html files
I have a (very) large HTML file that has a very large number of :hx headings that I need to include in a table of contents. Is there an easy way to build the table? Normally, we'd use our HTML editor, but we're having problems with it - it keeps inserting tons of extra, unnecessary code into the file that has to be stripped out before we can process the final file.
I want to keep the file output as HTML so that we can continue to edit it.
Thanks!!
John
|