Skip to content

How to filter by codeblocks or admonition? #801

Answered by blacksmithgu
uwe999 asked this question in Q&A
How to filter by codeblocks or admonition? #801
Jan 21, 2022 · 2 answers

It would be great if I could create a dataview query that shows me all my admonition quotes similar to how I can filter by tasks.
If I understand it correct this is not possible because of #279 ?

Out of technical curiosity: how are you able to query tasks? I don't see meta data for tasks in the indexedDB?

This is an interesting idea - do you think being able to search over all codeblocks (and then filtering down to oens tagged as admonitions) would suitably fulfill this? This is upcoming 0.5.0 functionality.


You can see everything dataview tracks in app.plugins.plugins.dataview.index - tasks are tracked inside the pages collection, on a per-file basis.

Replies

2 suggested answers

This is an interesting idea - do you think being able to search over all codeblocks (and then filtering down to oens tagged as admonitions) would suitably fulfill this? This is upcoming 0.5.0 functionality.


You can see everything dataview tracks in app.plugins.plugins.dataview.index - tasks are tracked inside the pages collection, on a per-file basis.

0 replies
Answer selected by uwe999

thanks.
Yes, that should take care of my use case. Looking forward to that release, happy to test it.

0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants