Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search results: Option to "show more context" #1719

Open
jhconning opened this issue Dec 13, 2023 · 0 comments
Open

Search results: Option to "show more context" #1719

jhconning opened this issue Dec 13, 2023 · 0 comments

Comments

@jhconning
Copy link

jhconning commented Dec 13, 2023

Feature description

search results are highlighted within the context of surrounding text. These results appear in the search sidebar but only one line of context is ever shown. It would be useful to have a "show more context" command or toggle. Relatedly, it would be nice to have settings or commands to control other aspects of the displayed reults such as allowing word wrap to display more within the chosen width of the sidebar, and perhaps a setting to change the search results font size to something smaller.

Feature motivation

Search results are sometimes more useful when one has the option of seeing the search result in its wider context, in order to more effectively navigate to the note and section of a note that one wants. While there are many situations where a shorter context could be useful because that then provides a more compact list of results, the ideal solution is to allow the user to be able to widen or narrow the context window depending on the situation and their needs.

Right now one can get more context by widening the search results window by click and drag, but this is not ideal. A better solution would be some kind of command to toggle a wider context window and display the results wordwrapped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant