File: position-placeholder-multiple.html

package info (click to toggle)
php-league-commonmark 1.5.7-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,284 kB
  • sloc: php: 16,992; makefile: 24; ruby: 21; javascript: 15; sh: 9
file content (32 lines) | stat: -rw-r--r-- 1,988 bytes parent folder | download
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
30
31
32
<p>This is my document.</p>
<ul class="table-of-contents">
<li>
<p><a href="#another-copy-of-my-toc-is-here">Another copy of my TOC is here</a></p>
<ul>
<li>
<p><a href="#this-contains-something-that-looks-like-a-placeholder-but-actually-isnt">This contains something that looks like a placeholder but actually isn't</a></p>
</li>
<li>
<p><a href="#just-a-link-reference-down-here">Just a link reference down here</a></p>
</li>
</ul>
</li>
</ul>
<h1><a id="user-content-another-copy-of-my-toc-is-here" href="#another-copy-of-my-toc-is-here" name="another-copy-of-my-toc-is-here" class="heading-permalink" aria-hidden="true" title="Permalink">¶</a>Another copy of my TOC is here</h1>
<ul class="table-of-contents">
<li>
<p><a href="#another-copy-of-my-toc-is-here">Another copy of my TOC is here</a></p>
<ul>
<li>
<p><a href="#this-contains-something-that-looks-like-a-placeholder-but-actually-isnt">This contains something that looks like a placeholder but actually isn't</a></p>
</li>
<li>
<p><a href="#just-a-link-reference-down-here">Just a link reference down here</a></p>
</li>
</ul>
</li>
</ul>
<h2><a id="user-content-this-contains-something-that-looks-like-a-placeholder-but-actually-isnt" href="#this-contains-something-that-looks-like-a-placeholder-but-actually-isnt" name="this-contains-something-that-looks-like-a-placeholder-but-actually-isnt" class="heading-permalink" aria-hidden="true" title="Permalink">¶</a>This contains something that looks like a placeholder but actually isn't</h2>
<p>This is not a placeholder, but a link reference: <a href="https://www.example.com" title="Link Reference">TOC</a></p>
<p><a href="https://www.example.com" title="Link Reference">TOC</a> This should also be handled as a link reference</p>
<h2><a id="user-content-just-a-link-reference-down-here" href="#just-a-link-reference-down-here" name="just-a-link-reference-down-here" class="heading-permalink" aria-hidden="true" title="Permalink">¶</a>Just a link reference down here</h2>