I have searched google and the online help; if the answer is there, I cannot find it. I have read the documentation but remain stymied.
I want to have a query block in a page that collects & displays blocks from other pages that match a search criterion.
What I’m trying to do
I have list items or tasks in various files. Some of these are tagged xxx, others are tagged yyy, and a few are tagged with both xxx and yyy. I want to extract only those list items or tasks both both tags.
I started with this:
```query
tag:#xxx tag:#yyy
```
This shows contents of files that contain both tags, which makes sense.
However, I only want the blocks that match.
Ok; that works, and I can live with it, even though it was slower than I thought it would be.
The doc advises to use the tags: keyword because "This is faster and more accurate than searching for the tag in plaintext #work, as it uses the cached information and ignores text in code blocks and sections that aren't markdown text."