#on/pkm
YAML is used for putting explicit metadata onto a document
This allows it to be searchable by dataview
list: [VALUE 1, VALUE 2, VALUE 3]
Sources
[Youtube](https://www.youtube.com/watch?v=sEgzrRNkgsE)
[Obsidian Github](https://blacksmithgu.github.io/obsidian-dataview/)
[Being Pax](https://beingpax.medium.com/how-to-use-obsidian-dataview-a-complete-beginners-guide-2a275c274936)
[Denise Todd](https://denisetodd.medium.com/dataview-intro-and-basics-ac93d0c79df1)
## List:
# test
## headings
### that
#### look
[[Journal]]
[[my journal]]
``dataview
## list
``
will list every note in the database
## from
from allows you to know WHERE you get the notes from:
- tags
list
from # MOC for example
- list from # on/pkm and # on/values
- can use and, or, (-) minus sign (no hyphens) gets you everything that doesn't have
- folder name
"folder name" or subfolders "folder/subfolder"
- from
any note with a link into the note
from [[link]]
- into
any note with a link out of the note
# KEY QUERY HERE
## task
tasks from # project/doing
```dataview
task from #project/doing
```
```dataview
list from #note
```
List of #on/learning
will list the notes that have the tag #on/learning
```dataview
List
from #on/learning
sort file.name asc
```
List of tasks with hashtagtodo (not yet working) .js
```dataviewjs
dv.taskList(dv.pages('#todo').file.tasks
.where(t => t.text.includes("#todo")), false);
```
DATAVIEW LIKES YAML
YAML:
---