tree concepts etc.

azivner 2018-08-28 15:56:54 +02:00
parent 8353679a0e
commit babd96fe27
12 changed files with 30 additions and 0 deletions

5
Images.md Normal file

@ -0,0 +1,5 @@
Trilium supports adding images to notes. Supported formats are JPEG, PNG and GIF.
To add image to the note, simply drag it from file explorer onto the note editor inside Trilium and image will be uploaded.
Since Trilium isn't really meant to be primary storage for image data, it attempts to compress (with pretty aggressive settings) uploaded images before storing them to the database. You may then notice some quality degradation.

0
Note revisions.md Normal file

0
Prefix.md Normal file

25
Tree concepts.md Normal file

@ -0,0 +1,25 @@
This page describes some basic concepts related to the tree structure of notes in Trilium.
## Note
Note is a central entity in Trilium. Main attributes of note are title and content.
Importantly, note itself doesn't carry information on its placement in note tree.
There's one special note called "root note" which is root of the note tree. All other notes are placed below it in the structure.
## Branch
Branch describes note placement in the note tree - in essence it's a tuple of parentNoteId and noteId which says that given note is placed as a child into this parent note.
Each note can have more than one such branches, in other words any note can have multiple placements in the tree. For lack of better word we call this "[[cloning|Cloning notes]]".
## Prefix
Prefix is branch (placement) specific title prefix for the note. Let's say you have your note placed into two different places in the tree, but you want to change the title a bit in one of the placements. For this you can use prefix.
To edit prefix, right click on a note in the tree pane and choose "Edit branch prefix".
## Subtree
Subtree is a set of notes consisting of a particular note (subtree root) and all its children, children of these children (= all its descendants). Some operations work on subtrees (e.g. export).