TocJS is a jQuery plugin that automatically create a table of contents of the article.
February 14, 2017
It is a sample of the generated TOC that is displayed below.
headings: 'h2, h3',
Download the latest release on Github. And put the script at the bottom of your markup right after jQuery.