<div class="toc"> <ul> <li><a href="#start-with-header-other-than-one">Start with header other than one.</a></li> <li><a href="#header-3">Header 3</a><ul> <li><a href="#header-4">Header 4</a></li> </ul> </li> <li><a href="#header-3_1">Header 3</a></li> </ul> </div> <h3 id="start-with-header-other-than-one">Start with header other than one.</h3> <h3 id="header-3">Header 3</h3> <h4 id="header-4">Header 4</h4> <h3 id="header-3_1">Header 3</h3>