List items (both bullet point and numbered items) are indexed with the item tag, additional tags can be added using Tag.
Here is an example of a quote item using a custom attribute:
- “If you don’t know where you’re going you may not get there.” [by: Yogi Berra] quote
And then queried via the quote tag: ${query[[ from index.items(“quote”) ]]}
Additional attributes:
parentwill contain a ref to the item’s direct parentitemif anylinkswill contain a list of all the wiki-style links in the itemilinks(inherited links) will contain a list of all the wiki-style links in the item and its parents.itagswill also inherit their ancestors’ tags
Example query showing all attributes of items on this page: ${queryfrom index.items() where _.page == editor.getCurrentPage()}