Paste the HTML code from your SAP Community blog post, with headings <h1>, <h2>, etc.:
This is a demonstration.
Chapter 1
Chapter 2
Sub-chapter
Sub-sub-chapter
Chapter 3
Sub-chapter
Click me to generate/update the Table Of Contents
(source code at
https://github.com/sandraros/sandraros.github.io/blob/master/BuildSAPBlogPostTOC.html
)