1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
<ul class="table-of-contents">
<li><a href="#content-a-level-2-heading-to-start">A level 2 heading to start</a></li>
<li><a href="#content-followed-by-a-level-4">Followed by a level 4</a></li>
<li><a href="#content-then-a-level-1">Then a level 1</a></li>
<li><a href="#content-and-another-level-2">And another level 2</a></li>
<li><a href="#content-then-a-level-5">Then a level 5</a></li>
<li><a href="#content-and-then-a-level-3">And then a level 3</a></li>
<li><a href="#content-followed-by-a-level-6">Followed by a level 6</a></li>
<li><a href="#content-then-another-level-3">Then another level 3</a></li>
<li><a href="#content-then-level-4">Then level 4</a></li>
<li><a href="#content-level-3">Level 3</a></li>
<li><a href="#content-level-2">Level 2</a></li>
<li><a href="#content-level-4">Level 4</a></li>
<li><a href="#content-level-1">Level 1</a></li>
</ul>
<p>Here's a sample Markdown document with weird headings</p>
<h2><a id="content-a-level-2-heading-to-start" href="#content-a-level-2-heading-to-start" class="heading-permalink" aria-hidden="true" title="Permalink">¶</a>A level 2 heading to start</h2>
<h4><a id="content-followed-by-a-level-4" href="#content-followed-by-a-level-4" class="heading-permalink" aria-hidden="true" title="Permalink">¶</a>Followed by a level 4</h4>
<h1><a id="content-then-a-level-1" href="#content-then-a-level-1" class="heading-permalink" aria-hidden="true" title="Permalink">¶</a>Then a level 1</h1>
<h2><a id="content-and-another-level-2" href="#content-and-another-level-2" class="heading-permalink" aria-hidden="true" title="Permalink">¶</a>And another level 2</h2>
<h5><a id="content-then-a-level-5" href="#content-then-a-level-5" class="heading-permalink" aria-hidden="true" title="Permalink">¶</a>Then a level 5</h5>
<h3><a id="content-and-then-a-level-3" href="#content-and-then-a-level-3" class="heading-permalink" aria-hidden="true" title="Permalink">¶</a>And then a level 3</h3>
<h6><a id="content-followed-by-a-level-6" href="#content-followed-by-a-level-6" class="heading-permalink" aria-hidden="true" title="Permalink">¶</a>Followed by a level 6</h6>
<h3><a id="content-then-another-level-3" href="#content-then-another-level-3" class="heading-permalink" aria-hidden="true" title="Permalink">¶</a>Then another level 3</h3>
<h4><a id="content-then-level-4" href="#content-then-level-4" class="heading-permalink" aria-hidden="true" title="Permalink">¶</a>Then level 4</h4>
<h3><a id="content-level-3" href="#content-level-3" class="heading-permalink" aria-hidden="true" title="Permalink">¶</a>Level 3</h3>
<h2><a id="content-level-2" href="#content-level-2" class="heading-permalink" aria-hidden="true" title="Permalink">¶</a>Level 2</h2>
<h4><a id="content-level-4" href="#content-level-4" class="heading-permalink" aria-hidden="true" title="Permalink">¶</a>Level 4</h4>
<h1><a id="content-level-1" href="#content-level-1" class="heading-permalink" aria-hidden="true" title="Permalink">¶</a>Level 1</h1>
|