devpage 0.2.1

Live documents from a repository: sites, docs and slides from Markdown, and UI designs drawn from code — with comments, link checking and PDF
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Search

A site's sidebar opens with a search box over everything the site publishes
— every page its nav reaches, and every chapter and slide of the documents it
links, split at their headings. Results come as you type, grouped by page — the
page, then its best sections with the matched words marked, then how many more
it holds; a page whose title you type comes first. The last word matches as
you type it, and a typo still finds it. Opening a section lands on the first
word it matched, every one of them marked in it until Escape.

| Key | What it does |
| --- | --- |
| `/` or ⌘K / Ctrl+K | focus the box |
| ↓ ↑ | move through every row of the results |
| Enter | open the row: a page at its top, a section at its first matched word |
| Escape | clear the box and bring the tree back; on the page, take the marks out |

Teaches it: [Search](../boxes/viewer/search/README.md#the-search-box).