From babd96fe27e07893a758421348ae03335a0c75da Mon Sep 17 00:00:00 2001 From: azivner Date: Tue, 28 Aug 2018 15:56:54 +0200 Subject: [PATCH] tree concepts etc. --- Cloning-notes.md => Cloning notes.md | 0 Day-note.md => Day note.md | 0 ...lation.md => Docker server installation.md | 0 Images.md | 5 ++++ ...lation.md => Manual server installation.md | 0 Note revisions.md | 0 ...ver-binary.md => Packaged server binary.md | 0 Prefix.md | 0 ...ed-attributes.md => Promoted attributes.md | 0 ...-installation.md => Server installation.md | 0 TLS-configuration.md => TLS configuration.md | 0 Tree concepts.md | 25 +++++++++++++++++++ 12 files changed, 30 insertions(+) rename Cloning-notes.md => Cloning notes.md (100%) rename Day-note.md => Day note.md (100%) rename Docker-server-installation.md => Docker server installation.md (100%) create mode 100644 Images.md rename Manual-server-installation.md => Manual server installation.md (100%) create mode 100644 Note revisions.md rename Packaged-server-binary.md => Packaged server binary.md (100%) create mode 100644 Prefix.md rename Promoted-attributes.md => Promoted attributes.md (100%) rename Server-installation.md => Server installation.md (100%) rename TLS-configuration.md => TLS configuration.md (100%) create mode 100644 Tree concepts.md diff --git a/Cloning-notes.md b/Cloning notes.md similarity index 100% rename from Cloning-notes.md rename to Cloning notes.md diff --git a/Day-note.md b/Day note.md similarity index 100% rename from Day-note.md rename to Day note.md diff --git a/Docker-server-installation.md b/Docker server installation.md similarity index 100% rename from Docker-server-installation.md rename to Docker server installation.md diff --git a/Images.md b/Images.md new file mode 100644 index 0000000..87c4873 --- /dev/null +++ b/Images.md @@ -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. \ No newline at end of file diff --git a/Manual-server-installation.md b/Manual server installation.md similarity index 100% rename from Manual-server-installation.md rename to Manual server installation.md diff --git a/Note revisions.md b/Note revisions.md new file mode 100644 index 0000000..e69de29 diff --git a/Packaged-server-binary.md b/Packaged server binary.md similarity index 100% rename from Packaged-server-binary.md rename to Packaged server binary.md diff --git a/Prefix.md b/Prefix.md new file mode 100644 index 0000000..e69de29 diff --git a/Promoted-attributes.md b/Promoted attributes.md similarity index 100% rename from Promoted-attributes.md rename to Promoted attributes.md diff --git a/Server-installation.md b/Server installation.md similarity index 100% rename from Server-installation.md rename to Server installation.md diff --git a/TLS-configuration.md b/TLS configuration.md similarity index 100% rename from TLS-configuration.md rename to TLS configuration.md diff --git a/Tree concepts.md b/Tree concepts.md new file mode 100644 index 0000000..7654ac7 --- /dev/null +++ b/Tree concepts.md @@ -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). \ No newline at end of file