Obsidian Dataview

GitHub: https://github.com/blacksmithgu/obsidian-dataview DataviewJS Codeblock References: https://blacksmithgu.github.io/obsidian-dataview/api/code-reference/ DataviewJS Luxon: https://moment.github.io/luxon/api-docs/index.html

Few ideas on how to use dataviews

  • WIP file to list open tasks
  • note to display random notes or snippets using tags
  • note to display random notes or snippets using tags
  • Create a dataview for tags #todo #review to aid processing ideas later on.

Examples

  • Show current filename with : We are on page = this.file.name.
  • Show current week number with: =date(today).weekyear

Task Dataviews

Show tasks that link to this file

TASK
FROM [[#]]
WHERE path != this.file.path
  AND contains(outlinks, this.file.link)

Views

LIST
FROM "3NOTES/templates/views"