--- // starlight's search, with each result's excerpt cut down to a little context // before its first match, so the match survives the one-line clamp in tangled.css. // excerpts that start or stop mid-sentence are marked so the stylesheet can add // an ellipsis at that end. results show a page of cards at a time, the last // one faded, and scrolling it into view shows the next page, asking pagefind // for more once the shown cards run low. the arrow keys move through the results // while focus stays in the input, and enter opens the active one. each card's // title is prefixed with its page's title, unless the card is the page itself import Default from "@astrojs/starlight/components/Search.astro"; ---