Introduction
Dataview is a popular community plugin for querying and displaying information from your Obsidian Vault.
Dataview leverages both Markdown frontmatter and Inline fields (a Dataview-specific feature) as queryable data.
Markdown frontmatter
Markdown frontmatter is YAML metadata enclosed by --- at the top of a markdown document.
---
alias: "document"
last-reviewed: 2021-08-17
thoughts:
rating: 8
reviewable: false
---Inline fields
Inline fields are a Dataview feature which allow you to write metadata directly inline in your markdown document via Key:: Value syntax.
Basic Field:: Value
**Bold Field**:: Nice!
You can also write [field:: inline fields]; multiple [field2:: on the same line].
If you want to hide the (field3:: key), you can do that too.Example
Shows a table with three extra columns, of all notes in the games folder, sorted by rating:
```dataview
TABLE time-played, length, rating
FROM "games"
SORT rating desc
```