from github to this gitea

This commit is contained in:
oscar.plaisant@icloud.com
2023-10-23 23:09:51 +02:00
commit a2ee0fa5ca
2898 changed files with 307871 additions and 0 deletions

32
dataview MOC query.md Normal file
View File

@@ -0,0 +1,32 @@
up::[[obsidian workflow MOCs]], [[obsidian plugin dataview]]
title::"[[Depth-first search|DFS]] in the reciprocal of `up::` property"
#obsidian #PKM
---
> [!important] goals
> - have all the notes about a subject
> - using [[obsidian plugin breadcrumbs|breadcrumbs]] hierarchy with `up::`
> - auto-updating
> - see what the note talks about
> - `title` and `description` attributes
> [!note] implementation
> - inside a custom [[obsidian callouts|callout]]
> - make text smaller if needed
> - `query` or `smallquery`
> - wrappable callout (spoiler)
> - [[Depth-first search]] order
# The query
> [!query] Sous-notes de `=this.file.link`
> ```dataview
> TABLE title, up as "Up", up.up as "2-Up", up.up.up as "3-Up", up.up.up.up as "4-Up"
> FROM -#cours AND -#exercice AND -"daily" AND -#excalidraw AND -#MOC
> WHERE any(map([up, up.up, up.up.up, up.up.up.up], (x) => econtains(x, this.file.link)))
> WHERE file != this.file
> SORT up.up.up.up, up.up.up, up.up, up
> ```
- [[javascript]]