title: Creating table of contents in html
body: <p>Is it possible to create an ordered list like the following?
  I like this for a table of contents I'm creating.</p>
  
  <ol>
  <li>Into</li>
  <li>Section1<br/>
  2.1 SubSection1<br/>
  2.2 SubSection2<br/></li>
  <li>Section2<br/>
  .....</li>
  </ol>
  
  <p>I have the following but each subsection restarts from 1.</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;ol&gt;
      &lt;li&gt;
          &lt;a href="#Lnk"&gt;&lt;/a&gt;
      &lt;/li&gt;
      &lt;li&gt;
          &lt;a href="#Lnk"&gt;&lt;/a&gt;
      &lt;/li&gt;
      &lt;ol&gt;
          &lt;li&gt;
              &lt;a href="#Lnk"&gt;&lt;/a&gt;
          &lt;/li&gt;
          &lt;li&gt;
              &lt;a href="#Lnk"&gt;&lt;/a&gt;
          &lt;/li&gt;
      &lt;/ol&gt;
  &lt;/ol&gt;
  </code></pre>
  
  <p>Thanks</p>