Free-text search across all indexed pages.
Search
1 min readStableBeginner
OwnDocs builds a full-text search index from your MDX pages automatically. Readers open the search modal with Cmd+K (Ctrl+K on Windows/Linux) and navigate straight to a matching page — no external service, no API key, no config.
Quick Start
Press the search shortcut or click the search trigger in the header.
Open search
Press Cmd+K (macOS) or Ctrl+K (Windows/Linux) from any page.
Adding Options
The index is built at render time from every page's title, URL, breadcrumb, and cleaned content. Code fences, Mermaid blocks, component tags, and links are stripped so only prose is indexed.
Plain Text
Plain Text
Search record
├── title — first-level heading
├── url — page path
├── breadcrumb — category path
└── content — prose with markup removedAdvanced
Results are scored and ranked, then rendered as an ARIA combobox with arrow-key navigation, Enter to select, Escape to close, and a total page count in the placeholder.
Options
querystringrequiredkeyboardstringDefault: Cmd+K / Ctrl+KOpens the modal from anywhere.
Related pages
Was this page helpful?