List items (both bullet point and numbered items) are indexed with the item tag, additional tags can be added using Reference/Tag.
Here is an example of a #quote item using a custom attribute:
And then queried via the #quote tag: ${query[[ from index.items("quote") ]]}
Additional attributes:
parent will contain a ref to the item’s direct parent item if anylinks will 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.itags will also inherit their ancestors’ tagsExample query showing all attributes of items on this page: ${query[[from index.items() where _.page == editor.getCurrentPage()]]}
name: item content with tags, inline attributes and its anchor removed.text: item content before that cleanup.page, pageLastModified: containing page and its last-modified timestamp.range: [start, end] source range. pos and toPos are older start/end fields. Prefer range for new code.ref, tag, tags, itags: shared object fields. Ordinary items have root tag item. Checkbox items have root tag task.parent, links and ilinks fields described above are optional and appear only when applicable.