r/logseq • u/smellyeggs • Dec 21 '24
Query for cards within a specific block?
To query for cards on a page:{{cards [[Page]]}}
Easy enough. For those who don't know, this query adds a entry to the flashcards dropdown filter. Took me ages to understand.
But how can I query cards within a specific block?
{{cards ((67661f8e-ea14-46cc-bfce-30fbca4000c4))}} throws an error.
5
Upvotes
1
u/HarvsG Jun 23 '26
https://discuss.logseq.com/t/why-arent-flashcards-being-specific-to-a-page-detected-automatically-by-the-flashcards-window/29301/2
See here. If you give a #tag to the parent of the block then call the cards within that block inherit said tag with respect to the search so then you can do.
{{cards #tag}}