How to search whether the specified string is contained in the array? #405
-
|
I use my own Frontmatter format, where So how do I accurately search for flags that contain unlisted? The search plugin's documentation doesn't seem to indicate this, or maybe it doesn't support it yet. |
Beta Was this translation helpful? Give feedback.
Answered by
oscarotero
Mar 31, 2023
Replies: 1 comment 3 replies
-
|
You can use |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
kwaa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
flags*=unlisted. Thevalue*=otherValuecode is compiled tovalue.includes(otherValue), that works with strings and arrays.