title: How to display post subheadings on the top in the form of a list
body: <p>Ive created a blog on wordpress. Each article is divided into various paragraphs under proper sub headings. 
  I want to show the list of the all the sub headings on top of the post in the form of a numbered or bulleted list. And on clicking these list items the reader should be able to jump to the relevant text section on the post.
  For example if the blog is like this -></p>
  
  <pre><code>**Plan features**
  A paragraph on plan features .............. .................. ......... ...
  .............................
  
  **Plan Benefits**
  Aparagraph on plan benefits ............... .............. ........... ............... ........... ............. ................
  
  **PlanReview**
  A paragraph on reviews of the plan ............. .............. ......... ............. ............. .............. ............. ............
  </code></pre>
  
  <p>Then on top of the post I want a list of all the three subheadings:</p>
  
  <ol>
  <li><strong>Plan features</strong></li>
  <li><strong>Plan Benefits</strong></li>
  <li><strong>PlanReview</strong></li>
  </ol>
  
  <p>Each one should be linked to the correct place in the document.</p>
  
  <p>I have done this earlier with the help of a plugin but cannot remember it anymore. Can anyone help me to achieve the above task.</p>
  
  <p>Thanks in advance</p>