This macro automatically generates a table of contents with hyperlinks and correct indentation levels.
It will insert anchors before every header and construct a list (of lists, of lists ...) of references to the headers.
Table of Contents
That was (too) simple!
Put the macro in a folder (e.g. %b\Macros\HTML), and assign a shortcut to it or make a menu item for it.
You can easily change the type of list (<OL> or <UL>) that will be generated.
Macro contributed by Robert <w.m.lgmx.net>.