Things I have tried
testing
What I’m trying to do
sort by tag
took a break from dataview, but now going back, I’m a bit confused about something. I thought that when I choose what tags i want to see notes from, e.g.
TABLE Name, Birthplace, Years, Tag
FROM #cat/history
SORT Name DESC
that the tags had to be in the YAML section, but experimenting, I’m seeing that it doesn’t seem to matter whether the tag is in YAML or the body of the note. I would prefer the body of the note. Before I take them out of YAML, wanted to be sure that I’m not missing something or would have some loss of functionality in another unforseen case.
Also, seems there is some standard YAML tag formatting, but also testing, seems multiple things work. eg. w/ and w/o brackets, w/ and w/o quotes, commas, etc.
Is there a definitive way to write tags?
e.g.
Tags: [" #note/type/markup #note/source/blog-newsletter #note/source/mia #topic/american-politics "] (sometimes I dont have the bracket, and sometimes I have commas in there)
Tag:
- " #note/type/markup"
- " #note/source/blog-newsletter"
- " #topic/american-politics"