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 in YAML headers #1243
Comments
No, not at this time. However, that may be something that might be added when the search feature gets refactored. I've added this to the (already long) list of issues in that project. |
Oh and that is not YAML, but multimarkdown style meta-data. |
Not really sure how this would work. Should the entire meta-data section be indexed as a block of text or should each individual key be indexed? I doubt we should index all keys ( plugins:
- search:
index_meta_data: [author, summary] Then for any page which has those meta-data keys assigned, they get indexed. Any thoughts from someone who wants/needs this feature? |
Nowadays (2024) lunr.js is unmaintained (last commit 2020). While we welcome enhancements to existing themes, we're also discussing creating a new, better default theme, which would probably use something else than lunr.js. @squidfunk also stated that he and his team are working on a standalone search plugin that is theme-agnostic and will bring such functionality, see the discussion starting here #3560 (comment). For these reasons, we'll close this as not planned! If someone wants to work on this anyway, we can re-open the issue. |
Is it possible to search in YAML headers, like this:
I want to find "Me" if I search it
The text was updated successfully, but these errors were encountered: