ivan-lednev / better-search-views

Outliner-like breadcrumb trees for search, backlinks and embedded queries
MIT License
246 stars 8 forks source link

possible settings options #32

Open ondrobaco opened 7 months ago

ondrobaco commented 7 months ago

Hi, thanks for this fantastic plugin! I'd like to suggest a useful setting option. I use a lot of embed search, which pulls from a long document and create smaller documents that consist from the search results. The embed search views however does not show the whole paragraph or whole list of items. An option is setting where a user can search the granularity of the search would be good idea.... example: search and display everything below h1 heading (displays everything up to the next h1 heading) below h2 heading (view with everything up to the next h2 heading) and so on.

jemorriso commented 7 months ago

I came with the exact same use case and found this issue. It would be fantastic to see the search results include the entire section below a header, not just the first paragraph, at least as an option in settings.

ondrobaco commented 7 months ago

yes, even a plugin that can extract between a specified string would be great. Less convenient than headers but I wouldn't mind to add a string in my "motherload" to be able to extract entire sections... Perhaps an idea for a new plugin?