scambier / obsidian-omnisearch

A search engine that "just works" for Obsidian. Supports OCR and PDF indexing.
GNU General Public License v3.0
1.25k stars 65 forks source link

[Feature request] Option to search inline code blocks and add weight to inline code blocks for technical docs searches #382

Open mirek186 opened 4 months ago

mirek186 commented 4 months ago

Is your feature request related to a problem? Please describe. When you write a lot of technical guides, fixes, etc. You often only want to find a reference to a single command. You know you've run 15 months ago. However, if you use lots of different but sometimes overlapping technologies, you end up with tens of results you have to go through in order to find what you're looking for or end up googling for it, as it's easier to find it than way.

Describe the solution you'd like There is already an option to add Header properties and assign weight to them, I wonder if there could be an option to add weight to inline code blocks.

Describe alternatives you've considered An alternative could be a switch like code: ... that would tell omnisearch to only search code blocks.