1
0
mirror of synced 2026-01-22 09:02:55 -05:00
Files
docs/tests/unit/search/fixtures/page-with-sections.html
Mike Surowiec d76c16da19 Scope markdown body (#21082)
* update article content to markdown ui component

* decouple lunr indexing from class name

* remove summary outline none rule, apply utility class instead

* improve typing

* scope more styles down to markdown-body/extended-markdown

* move all markdown-body style overrides to MarkdownContent component

* fix class targeting within css module

* clean up MarkdownContent header style

* rename data-lunr to data-search

* fix: inline code color issue

* fix: update article markdown to work with MarkdownContent
2021-08-30 14:24:49 +00:00

31 lines
750 B
HTML

<head>
<meta name="keywords" content="topic1,topic2">
</head>
<div data-search="article-content">
<nav class="breadcrumbs">
<a href="#">GitHub Actions</a>
<a href="#">actions learning path</a>
<a href="#">I am the page title</a>
</nav>
<h1>I am the page title</h1>
<h2 id="in-this-article">In this article</h2>
<p>This should be ignored.</p>
<h2 id="first">First heading</h2>
<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 another.</p>
<h2 id="further-reading">Further reading</h2>
<p>This should be ignored.</p>
</div>
<h2 id="outside-the-article">This is out the article tag so it should be ignored</h2>