mabeyj / trilium-collection-views

An extension for Trilium Notes that implements different ways of viewing collections of notes.
MIT License
76 stars 5 forks source link

Attributes of parent/ancestor notes #39

Open mabeyj opened 1 year ago

mabeyj commented 1 year ago

Related: https://github.com/mabeyj/trilium-collection-views/discussions/38

Add special relations that refer to a note's parent note ($parent) and all ancestor notes ($ancestors). All ancestors would include multiple notes (parent, grandparent, etc.).

Cloned notes have multiple parents. In this case, $parent might return multiple notes. $parents should be an alias for $parent.

Examples: