-
Notifications
You must be signed in to change notification settings - Fork 92
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
Should search find documents based on front-matter keywords? #344
Comments
➕ On this feature request! For now, I've just added some hidden content on my page that includes the keyword. Definitely not ideal though. I would also expect to be able to search over frontmatter tags:
|
Looking for this behaviour as well. This is available with https://github.com/praveenn77/docusaurus-lunr-search which I switched from due it's lack of style customization |
It is possible to make search based on keywords, if they are appeared in the generated HTML. such as: <meta name="keywords" content="..."> Currently it is not supported, PRs welcome. If no one is interested in, I'll do it once I got time. |
Searching based on keywords (and descriptions) from meta tags (front matter in markdown) is supported via 0.41.0 |
My pages have, for example:
I find that search will find terms in the
title
, but not thekeywords
. For example, I would expect that if I search for "troubleshooting", this document would be listed. Is there something I can do to start indexing onkeywords
?The text was updated successfully, but these errors were encountered: