-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #120 from SiriusXT/main
Note Revision Snapshots Limit
- Loading branch information
Showing
3 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
# Note revisions | ||
# Note revisions | ||
Trilium supports seamless versioning of notes by storing snapshots ("revisions") of notes at regular intervals. | ||
|
||
## Note Revisions Snapshot Interval | ||
Time interval of taking note snapshot is configurable in the Options -> Other dialog. This provides a tradeoff between more revisions and more data to store. | ||
|
||
To turn off note versioning for a particular note (or subtree), add `disableVersioning` [label](attributes.md) to the note. | ||
|
||
## Note Revision Snapshots Limit | ||
The limit on the number of note snapshots can be configured in the Options -> Other dialog. | ||
The note revision snapshot number limit refers to the maximum number of revisions that can be saved for each note. Where -1 means no limit, 0 means delete all revisions. You can set the maximum revisions for a single note through the `versioningLimit=X` label. | ||
|
||
The note limit will not take effect immediately; it will only apply when the note is modified. | ||
|
||
You can click the **Erase excess revision snapshots now** button to apply the changes immediately. | ||
|
||
Note revisions can be accessed through the button on the right of ribbon toolbar. | ||
|
||
![](images/note-revisions.png) |