Apply highlight tags on numbers (not only strings) #174
Locked
curquiza
started this conversation in
Feedback & Feature Proposal
Replies: 2 comments 2 replies
-
Thanks for creating a discussion about this @curquiza. I thought of the same solution 🤓 |
Beta Was this translation helpful? Give feedback.
0 replies
-
This was added in v0.24, right? Should we close the conversation? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, the search engine does not highlight the number in
_formatted
because it's impossible to add<em>
tag around a number (not a string) in JSON.A solution could be to return the raw document (so the number) but the "transformed" document (so with the number surrounded of the tag in a string) in
_formatted
.Example:
Beta Was this translation helpful? Give feedback.
All reactions