Generate a table of contents based on the heading structure of a html document.
tocbotjavascripttableofcontentsgeneratehtmlstructurevanilla