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

local search: show partial hint or full link path in search result #3230

Open
4 tasks done
pberto opened this issue Nov 21, 2023 · 2 comments · May be fixed by #3440
Open
4 tasks done

local search: show partial hint or full link path in search result #3230

pberto opened this issue Nov 21, 2023 · 2 comments · May be fixed by #3440
Labels

Comments

@pberto
Copy link

pberto commented Nov 21, 2023

Is your feature request related to a problem? Please describe.

Both a feature and a problem since the local search does not easily show where a result come from.

Describe the solution you'd like

Imagine you have the following routing:

/food/fruit/apple.md
/food/fruit/orange.md

When I search for "apple" I'd like to see a partial hint in the local search result that apple belongs to the "fruit" routing directory, e.g:

[fruit] apple

Alternatively a printout of the result full link just below the search result:

https://domain.com/food/fruit/apple.html

Describe alternatives you've considered

No response

Additional context

No response

Validations

@pberto pberto changed the title local search: is it possible to show the full path tot he link below the search result? local search: show partial/full path of the link below the search result Nov 21, 2023
@pberto pberto changed the title local search: show partial/full path of the link below the search result local search: show partial hint or full link path in search result Nov 21, 2023
@github-actions github-actions bot added the stale label Dec 26, 2023
@zhangyx1998
Copy link
Contributor

I have the same issue. Will try to work out a PR for this.

Example

image

@pberto
Copy link
Author

pberto commented Jan 11, 2024

I forgot I logged this haha, I just re-logged it as a dup here with a more high level description and example:

#3437

@zhangyx1998 you seem to have the same need, which I think will be widespread so addressing this is IMO very valuable.

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

Successfully merging a pull request may close this issue.

2 participants