Skip to content

Commit

Permalink
Clarify how to search for subdecks (#298)
Browse files Browse the repository at this point in the history
* Clarify how to search for subdecks

* make search examples consistent

* Update src/searching.md

Co-authored-by: Damien Elmes <[email protected]>

* Update src/searching.md

Co-authored-by: Damien Elmes <[email protected]>

* Update src/searching.md

* Update src/searching.md

* Update src/searching.md
  • Loading branch information
brishtibheja authored Nov 18, 2024
1 parent dadf959 commit db62d31
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/searching.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,18 @@ finds notes with no tags.
finds notes with tags starting with "ani".

`deck:french`\
find cards in a deck called "French", or its subdecks like "French::Vocab".
find cards in a top-level deck called "French", or its subdecks like "French::Words". It will not match subdecks with that name, such as "Languages::French".

`deck:french::words`\
find cards in the "French::Words" subdeck.

`deck:french -deck:french::*`\
finds cards in "French", but not its subdecks.

`deck:"french vocab"`\
`deck:"french words"`\
searching when the deck name has a space.

`"deck:french vocab"`\
`"deck:french words"`\
same as earlier.

`deck:filtered`\
Expand Down

0 comments on commit db62d31

Please sign in to comment.