trilium
trilium copied to clipboard
feature request: inheritance fine control
As of now, standard and template inheritances are absolute, it is only possible to turn it on or off for each attribute. I thought it could be useful if it was possible to fine control the targets of inheritance, as in:
- defining a depth up to which the attribute is inherited
- custom conditions (e.g. attribute is inherited only if the child note has some other specific attributes)
There could also be a minimal depth parameter in addition to the maximal depth proposed. Currently the value of the minimal inheritance depth is 0, so the attribute is applied to the note and all its descendants. With value 2 for example only the grand-children and their descendants would inherit the attribute.