note revisions

azivner 2018-08-29 20:29:23 +02:00
parent babd96fe27
commit 2880a54bca
5 changed files with 12 additions and 3 deletions

@ -46,7 +46,7 @@ More importantly relations are used for some more advanced things - like attachi
* ```runOnNoteView``` - attached script will be run whenever the note has been loaded
* ```runOnNoteTitleChange``` - attached script will be run whenever the note title has been changed
* ```runOnAttributeChange``` - attached script will be run whenever the note's attribute has been changed
* ```inheritAttributes``` - attached note's attributes will be inherited even without parent-child relationship
* ```template``` - attached note's attributes will be inherited even without parent-child relationship
## Multiplicity

@ -6,7 +6,6 @@ This is supposed to be a complete list of keyboard shortcuts. Note that some of
* ```LEFT```, ```RIGHT``` - collapse/expand node
* ```ALT+LEFT```, ```ALT+RIGHT``` - go back / forwards in the history
* ```CTRL+J``` - show "Jump to" dialog
* ```CTRL+E``` - show "Recent notes" dialog
* ```CTRL+.``` - scroll to current note (useful when you scroll away from your note or your focus is currently in the editor)
* ```BACKSPACE``` - jumps to parent note
* ```ALT+C``` - collapse whole note tree
@ -54,4 +53,4 @@ These are hooked in Electron to be similar to native browser keyboard shortcuts.
* ```ALT+O``` - show SQL console (use only if you know what you're doing)
* ```ALT+M``` - distraction-free mode - display only note editor, everything else is hidden
* ```CTRL+S``` - toggle search form in tree pane
* ```ALT+L``` - show note labels dialog
* ```ALT+A``` - show note attributes dialog

@ -0,0 +1,7 @@
Trilium supports seamless versioning of notes by storing snapshots ("revisions") of notes at regular intervals.
Time interval of taking note snapshot is configurable in the Options dialog. This provides a tradeoff between more revisions and more data to store.
To turn off note versioning for particular note (or subtree), add `disableVersioning` [[label|Attributes]] to the note.
Note revisions can be accessed through note detail menu.

@ -6,6 +6,9 @@ Note is a central entity in Trilium. Main attributes of note are title and conte
Importantly, note itself doesn't carry information on its placement in note tree.
Tree structure of notes can resemble file system - but compared to that notes in Trilium can act as both file and directory - meaning that note can both have its own content and have children. "Leaf note" is a note which doesn't have any children.
### Root note
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