Markdown table rows are indexed using the table tag, any additional tags can be added using Reference/Tag in any of its cells.

TitleDescription Text
This is some keyThe value contains a #table-tag
Some RowThis is an example row in between two others
Another keyThis time without a tag

And to query: ${query[[from index.tables() where page == _CTX.currentPage.name]]}

Table headers will be normalized by converting them to lowercase and replacing all non alphanumeric characters with _.

Field reference

  • Each normalized column heading becomes a field holding the cell’s Markdown text, with hashtags removed. Cell values are strings, rather than automatically parsed numbers or YAML.
  • tableref: reference to the containing table’s start, as page@pos.
  • page, pos, range: containing page, row start and row source range.
  • ref, tag, tags, itags: shared object fields. tag is table. A row anchor replaces its position-based ref.
  • Reserved object-field names cannot be overwritten by table columns.
Loading SilverBullet…