1
0
mirror of synced 2026-01-04 09:06:46 -05:00
Files
docs/tests/unit/search/fixtures/page-with-sections.html
2021-11-10 11:11:28 -08:00

60 lines
1.2 KiB
HTML

<head>
<meta name="keywords" content="topic1,topic2">
</head>
<div data-search="breadcrumbs">
<nav class="breadcrumbs">
<a href="#">GitHub Actions</a>
<a href="#">actions learning path</a>
<a href="#">I am the page title</a>
</nav>
</div>
<h1>I am the page title</h1>
<div data-search="lead">
<p>This is an introduction to the article.</p>
</div>
<div data-search="article-body">
<h2 id="in-this-article">In this article</h2>
<p>This won't be ignored.</p>
<h2 id="first">First heading</h2>
<!--
Note that these two <p> tags have nothing between them.
But since <p> is a block-level tag, the browser would display them
on separate lines so there's a natural space between them.
-->
<p>Here's a paragraph.</p><p>And another.</p>
<h2 id="second">Second heading</h2>
<p>Here's a paragraph in the second section.</p>
<p>And <code>another</code>.</p>
<h2 id="table">Table heading</h2>
<table>
<tr>
<td>Peter</td>
<td>Human</td>
</tr>
</table>
<ul>
<li><p>Bullet</p></li>
<li><p>Point</p></li>
</ul>
<ol>
<li>Numbered</li>
<li>List</li>
</ol>
<h2 id="further-reading">Further reading</h2>
<p>This won't be ignored.</p>
</div>
<h2 id="outside-the-article">This is out the article tag so it should be ignored</h2>