Find in Document
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.
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.
đź’ˇ 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
The find bar appears only in the markdown editor. Other viewers keep their native search:
| Viewer | CMD+F behavior |
|---|---|
| Markdown editor | Ritemark find bar |
| PDF viewer | Native PDF search |
| DOCX viewer | Native Word search |
| 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