Press CMD+F to search inside your document with live highlighting.
Find in Document lets you search for text within the markdown file you're editing. Matches highlight in real time as you type, and you can jump between them with the keyboard. As of v1.12.0, the same find bar also works in Word, PowerPoint and PDF previews.
How to Use
Open the Find Bar
Press Cmd+F (Mac) or Ctrl+F (Windows). A compact search bar appears at the top of the editor.
Search
Start typing your search term. Matches highlight immediately in the document. The active match gets a brighter color so you can see exactly where you are.
A counter in the find bar shows your position, like "3 of 12".
Navigate Matches
| Action | Shortcut |
|---|---|
| Next match | Enter |
| Previous match | Shift+Enter |
| Next match (alternative) | Cmd+F again |
| Close find bar | Escape |
Close
Press Escape to close the find bar and clear all highlights.
What Gets Searched
The find bar searches the markdown document you're currently editing. It works across formatting boundaries, so a phrase that spans plain text and bold text will still be found.
In a preview, it searches the document you're reading. Case doesn't matter, and a match can't run from one paragraph into the next. In a presentation, it covers every slide and its speaker notes. In a PDF, it counts matches on every page, including pages you haven't reached yet, and a scanned PDF without text says so instead of reporting no matches.
💡 Tip: This is different from VS Code's file search (which searches across all files in a project). Find in Document is scoped to your current document only.
Scope
As of v1.12.0, the find bar works in the markdown editor and in the document previews. A transcript has its own search field:
| Viewer | CMD+F behavior |
|---|---|
| Markdown editor | Ritemark find bar |
Word preview (.docx) |
Ritemark find bar (v1.12.0) |
PowerPoint preview (.pptx) |
Ritemark find bar, including speaker notes (v1.12.0) |
| PDF preview | Ritemark find bar, across every page (v1.12.0) |
| Transcript Workbench | Puts you in the search field above the transcript (v1.12.0) |
| Spreadsheet viewer | Native spreadsheet search |
Technical Details
Highlights are ProseMirror decorations, not DOM overlays. This means they survive edits. If you search for a word, edit something else in the document, and come back to the find bar, all highlights are still there and update automatically.
Related
- Keyboard Shortcuts - All shortcuts
- Core Editor - Editor basics
- Document Preview - Word, PowerPoint and PDF previews
- Transcribe - Searching a transcript