-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Make search stop showing markdown and/or HTML syntax in search results #1369
Comments
We notice this problem also but there havnt had an ideal way to solve it yet. we may plan to use some search plugins to make it. |
@noahniuwa I found out a solution, use lurn https://github.com/kiwicom/docsify-lunr-search maybe fix this problem. |
Anyone have leads on this issue? I am experimenting with supporting Search with Docsify-This.net and seeing this issue too - for example, search for "Welcome". https://paulhibbitts.github.io/test-docsify-this/?basePath=https://raw.githubusercontent.com/hibbitts-design/docsify-this-multiple-page-course-site/main&homepage=home.md&sidebar=true&loadSidebar=_sidebar.md&loadNavbar=_navbar.md&search=true UPDATE: I customized the Search.js code to not include certain HTML items https://github.com/paulhibbitts/test-docsify-this/blob/main/docs/assets/vendor/docsify/plugins/custom/search.js#L228-L234 |
These libraries look like promising options for removing markdown/HTML markup from our search results: |
closed by #2457 . |
Feature request
Make search stop showing markdown and/or HTML syntax in search results
What problem does this feature solve?
Showing markdown and html syntax in search results is not the expected behavior for full text search. It should return rendered text with no syntax.
What does the proposed API look like?
How should this be implemented in your opinion?
Are you willing to work on this yourself?
The text was updated successfully, but these errors were encountered: