Sean local78 downloadsSearch within the active note and align each next match's line to the top of the editor.
Top Aligned Search is an Obsidian plugin for searching inside the active Markdown note. It keeps the search window floating above the editor and, when you jump between matches, aligns the matched line to the top of the editor viewport.
This is useful when you want a browser-like find bar, but with more predictable reading position control in long notes.
x button.Esc to close image previews without closing the search window.<your-vault>/.obsidian/plugins/top-aligned-search/
main.js
manifest.json
styles.css
README.md
Settings -> Community plugins.Top Aligned Search.Open a Markdown note, then open Top Aligned Search in one of these ways:
Open top aligned search or 打开页顶搜索 from the command palette.Ctrl/Cmd + Shift + F.Type a keyword in the search box. The plugin will highlight matches but keep the document at its current position.
Use these controls:
Enter: jump to the next nearest result from the current document position.Shift + Enter: jump to the previous nearest result from the current document position.Next: jump to the next result.Previous: jump to the previous result.EN / 中文: switch interface language.x: close the search window.When jumping to a result, the matched line is moved to the top of the editor viewport.

Esc.This plugin is currently distributed as plain JavaScript and CSS:
main.js
styles.css
manifest.json
No build step is required for manual use.
data.json is generated locally by Obsidian to store plugin preferences and does not need to be committed.
Add your preferred license before publishing the repository.