mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
saved search
parent
2d747eba4e
commit
35bd44f39e
@ -1,5 +1,7 @@
|
||||
Every [[attribute|attributes]] has a flag called `isInheritable`. If this is true, then this attribute (key-value) is also applied to all its children notes, children's children notes etc.
|
||||
|
||||
Example how this might be useful is `archived` label which hides its note from Jump to / Add link dialogs. Often times you want to archive some specific subtree, you can do this by making the `archived` label inheritable.
|
||||
|
||||
## Copying inheritance
|
||||
|
||||
Different kind of inheritance is achieved using "child:" attribute name prefix. If we create a child note in a note with "child:exampleAttribute" attribute, then child note will have "exampleAttribute" created. This can be even chained, e.g. "child:child:exampleAttribute", in this case "exampleAttribute" will be created in the child of the child.
|
||||
|
@ -15,9 +15,9 @@ Labels are used for several things:
|
||||
|
||||
* user can use them as labels with optional value - e.g. when catalogizing books, you might add labels like @year=1999, @genre=sci-fi, @author=Neal Stephenson
|
||||
* attributes can be used to configure some advanced features / settings - see below
|
||||
* plugins / scripts can use these to mark notes with some special values / metadata (e.g. note with imported reddit comment will have label with comment ID)
|
||||
* plugins / scripts can use these to mark notes with some special values / metadata (e.g. [[Weight Tracker]] will have "weight" attribute on [[day notes]] based on whose it can create chart).
|
||||
|
||||
Labels can be used when [[searching|Search]].
|
||||
Labels can be used for [[searching|Search]].
|
||||
|
||||
### Standard labels
|
||||
|
||||
|
@ -7,3 +7,5 @@ To turn off note versioning for particular note (or subtree), add `disableVersio
|
||||
Note revisions can be accessed through note detail menu.
|
||||
|
||||
[[images/note-revisions.png]]
|
||||
|
||||
Above you can see list of 3 note revisions for given note.
|
@ -27,3 +27,7 @@ See [[Family tree]].
|
||||
[[images/task-manager.png]]
|
||||
|
||||
See [[Task manager]].
|
||||
|
||||
[[images/note-revisions.png]]
|
||||
|
||||
See [[Note revisions]].
|
@ -20,3 +20,10 @@ Following examples demonstrates syntax:
|
||||
* ```@abc<=5``` - numerical comparison (also >, >=, <).
|
||||
* ```some search string @abc @def``` - combination of fulltext and label search - both of them need to match (OR not supported)
|
||||
* ```@abc @def some search string``` - same combination
|
||||
|
||||
|
||||
## Saved search
|
||||
|
||||
Trilium provides a way to save common search as a note in the note tree. Search results will then appear as subnotes of this "saved search" note. You can see how this works in action:
|
||||
|
||||
[[gifs/saved-search.gif]]
|
BIN
gifs/save-search.gif
Normal file
BIN
gifs/save-search.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 272 KiB |
Loading…
x
Reference in New Issue
Block a user