diff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.json
index f76f0e71a..dd0e65256 100644
--- a/docs/User Guide/!!!meta.json
+++ b/docs/User Guide/!!!meta.json
@@ -875,19 +875,26 @@
"isInheritable": false,
"position": 20
},
- {
- "type": "relation",
- "name": "internalLink",
- "value": "cbkrhQjrkKrh",
- "isInheritable": false,
- "position": 30
- },
{
"type": "label",
"name": "shareAlias",
"value": "backup",
"isInheritable": false,
"position": 20
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "wX4HbRucYSDD",
+ "isInheritable": false,
+ "position": 40
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "cbkrhQjrkKrh",
+ "isInheritable": false,
+ "position": 50
}
],
"format": "markdown",
@@ -1056,6 +1063,13 @@
"value": "bx bxs-layout",
"isInheritable": false,
"position": 40
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "4TIF1oA4VQRO",
+ "isInheritable": false,
+ "position": 50
}
],
"format": "markdown",
@@ -1917,62 +1931,6 @@
"type": "text",
"mime": "text/markdown",
"attributes": [
- {
- "type": "relation",
- "name": "internalLink",
- "value": "iPIMuisry3hd",
- "isInheritable": false,
- "position": 10
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "6f9hih2hXXZk",
- "isInheritable": false,
- "position": 20
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "CdNpE2pqjmI6",
- "isInheritable": false,
- "position": 30
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "m523cpzocqaD",
- "isInheritable": false,
- "position": 40
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "iRwzGnHPzonm",
- "isInheritable": false,
- "position": 50
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "GTwFsgaA0lCt",
- "isInheritable": false,
- "position": 60
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "IakOLONlIfGI",
- "isInheritable": false,
- "position": 70
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "ODY7qQn5m2FT",
- "isInheritable": false,
- "position": 80
- },
{
"type": "relation",
"name": "internalLink",
@@ -1993,6 +1951,62 @@
"value": "bx bx-notepad",
"isInheritable": false,
"position": 100
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "iPIMuisry3hd",
+ "isInheritable": false,
+ "position": 110
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "grjYqerjn243",
+ "isInheritable": false,
+ "position": 120
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "s1aBHPd79XYj",
+ "isInheritable": false,
+ "position": 130
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "m523cpzocqaD",
+ "isInheritable": false,
+ "position": 140
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "HcABDtFCkbFN",
+ "isInheritable": false,
+ "position": 150
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "CdNpE2pqjmI6",
+ "isInheritable": false,
+ "position": 160
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "IakOLONlIfGI",
+ "isInheritable": false,
+ "position": 170
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "ODY7qQn5m2FT",
+ "isInheritable": false,
+ "position": 180
}
],
"format": "markdown",
@@ -2393,6 +2407,27 @@
"value": "bx bxs-file-pdf",
"isInheritable": false,
"position": 30
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "wy8So3yZZlH9",
+ "isInheritable": false,
+ "position": 40
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "zEY4DaJG4YT5",
+ "isInheritable": false,
+ "position": 50
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "4TIF1oA4VQRO",
+ "isInheritable": false,
+ "position": 60
}
],
"format": "markdown",
@@ -2439,27 +2474,6 @@
"isInheritable": false,
"position": 10
},
- {
- "type": "relation",
- "name": "internalLink",
- "value": "iPIMuisry3hd",
- "isInheritable": false,
- "position": 20
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "6f9hih2hXXZk",
- "isInheritable": false,
- "position": 30
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "4TIF1oA4VQRO",
- "isInheritable": false,
- "position": 40
- },
{
"type": "relation",
"name": "internalLink",
@@ -2494,6 +2508,41 @@
"value": "bx bx-edit-alt",
"isInheritable": false,
"position": 40
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "_optionsTextNotes",
+ "isInheritable": false,
+ "position": 80
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "_optionsCodeNotes",
+ "isInheritable": false,
+ "position": 90
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "iPIMuisry3hd",
+ "isInheritable": false,
+ "position": 100
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "6f9hih2hXXZk",
+ "isInheritable": false,
+ "position": 110
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "4TIF1oA4VQRO",
+ "isInheritable": false,
+ "position": 120
}
],
"format": "markdown",
@@ -3957,6 +4006,13 @@
"value": "bx bx-edit",
"isInheritable": false,
"position": 10
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "W8vYD3Q1zjCR",
+ "isInheritable": false,
+ "position": 180
}
],
"format": "markdown",
@@ -4924,20 +4980,13 @@
"6f9hih2hXXZk",
"CdNpE2pqjmI6"
],
- "title": "Scripts",
+ "title": "Scripting",
"notePosition": 10,
"prefix": null,
"isExpanded": false,
"type": "text",
"mime": "text/markdown",
"attributes": [
- {
- "type": "relation",
- "name": "internalLink",
- "value": "6f9hih2hXXZk",
- "isInheritable": false,
- "position": 10
- },
{
"type": "relation",
"name": "internalLink",
@@ -4986,12 +5035,19 @@
"value": "scripts",
"isInheritable": false,
"position": 20
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "6f9hih2hXXZk",
+ "isInheritable": false,
+ "position": 80
}
],
"format": "markdown",
- "dataFileName": "Scripts.md",
+ "dataFileName": "Scripting.md",
"attachments": [],
- "dirFileName": "Scripts",
+ "dirFileName": "Scripting",
"children": [
{
"isClone": false,
@@ -8191,20 +8247,6 @@
"isInheritable": false,
"position": 10
},
- {
- "type": "relation",
- "name": "internalLink",
- "value": "MI26XDLSAlCD",
- "isInheritable": false,
- "position": 20
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "81SGnPGMk7Xc",
- "isInheritable": false,
- "position": 30
- },
{
"type": "relation",
"name": "internalLink",
@@ -8212,13 +8254,6 @@
"isInheritable": false,
"position": 40
},
- {
- "type": "relation",
- "name": "internalLink",
- "value": "H0mM1lTxF9JI",
- "isInheritable": false,
- "position": 50
- },
{
"type": "relation",
"name": "internalLink",
@@ -8227,32 +8262,67 @@
"position": 60
},
{
- "type": "relation",
- "name": "internalLink",
- "value": "N4IDkixaDG9C",
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-code",
"isInheritable": false,
- "position": 70
+ "position": 120
},
{
"type": "relation",
"name": "internalLink",
- "value": "Wxt3vVlxlYLi",
+ "value": "iPIMuisry3hd",
"isInheritable": false,
- "position": 80
+ "position": 150
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "MI26XDLSAlCD",
+ "isInheritable": false,
+ "position": 160
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "6f9hih2hXXZk",
+ "isInheritable": false,
+ "position": 170
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "81SGnPGMk7Xc",
+ "isInheritable": false,
+ "position": 180
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "H0mM1lTxF9JI",
+ "isInheritable": false,
+ "position": 190
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "N4IDkixaDG9C",
+ "isInheritable": false,
+ "position": 200
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "0vhv7lsOLy82",
+ "isInheritable": false,
+ "position": 210
},
{
"type": "relation",
"name": "internalLink",
"value": "8YBEPzcpUgxw",
"isInheritable": false,
- "position": 90
- },
- {
- "type": "label",
- "name": "iconClass",
- "value": "bx bx-code",
- "isInheritable": false,
- "position": 120
+ "position": 220
}
],
"format": "markdown",
diff --git a/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases.md b/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases.md
index 010822f9a..ec81ead6c 100644
--- a/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases.md
+++ b/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases.md
@@ -1,5 +1,5 @@
# Advanced Showcases
-Trilium offers advanced functionality through [Scripts](../Note%20Types/Code/Scripts.md) and [Promoted Attributes](Attributes/Promoted%20Attributes.md). To illustrate these features, we've prepared several showcases available in the [demo notes](Database.md):
+Trilium offers advanced functionality through [Scripts](../Note%20Types/Code/Scripting.md) and [Promoted Attributes](Attributes/Promoted%20Attributes.md). To illustrate these features, we've prepared several showcases available in the [demo notes](Database.md):
* [Relation Map](../Note%20Types/Relation%20Map.md)
* [Day Notes](Advanced%20Showcases/Day%20Notes.md)
diff --git a/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Task Manager.md b/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Task Manager.md
index 21122fb27..026840ae0 100644
--- a/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Task Manager.md
+++ b/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Task Manager.md
@@ -1,5 +1,5 @@
# Task Manager
-Task Manager is a [promoted attributes](../Attributes/Promoted%20Attributes.md) and [scripts](../../Note%20Types/Code/Scripts.md)showcase present in the [demo notes](../Database.md).
+Task Manager is a [promoted attributes](../Attributes/Promoted%20Attributes.md) and [scripts](../../Note%20Types/Code/Scripting.md)showcase present in the [demo notes](../Database.md).
## Demo
@@ -15,7 +15,7 @@ New tasks are created in the TODO note which has `~child:template` [relation](..
### Attributes
-Task template defines several [promoted attributes](../Attributes/Promoted%20Attributes.md) - todoDate, doneDate, tags, location. Importantly it also defines `~runOnAttributeChange` relation - [event](../../Note%20Types/Code/Events.md) handler which is run on attribute change. This [script](../../Note%20Types/Code/Scripts.md) handles when e.g. we fill out the doneDate attribute - meaning the task is done and should be moved to "Done" note and removed from TODO, locations and tags.
+Task template defines several [promoted attributes](../Attributes/Promoted%20Attributes.md) - todoDate, doneDate, tags, location. Importantly it also defines `~runOnAttributeChange` relation - [event](../../Note%20Types/Code/Events.md) handler which is run on attribute change. This [script](../../Note%20Types/Code/Scripting.md) handles when e.g. we fill out the doneDate attribute - meaning the task is done and should be moved to "Done" note and removed from TODO, locations and tags.
### New task button
diff --git a/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Weight Tracker.md b/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Weight Tracker.md
index b760a050d..32bfde718 100644
--- a/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Weight Tracker.md
+++ b/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Weight Tracker.md
@@ -7,7 +7,7 @@ By adding `weight` as a [promoted attribute](../Attributes/Promoted%20Attributes
## Implementation
-The `Weight Tracker` note in the screenshot above is of the type `Render Note`. That type of note doesn't have any useful content itself. Instead it is a placeholder where a [script](../../Note%20Types/Code/Scripts.md) can render its output.
+The `Weight Tracker` note in the screenshot above is of the type `Render Note`. That type of note doesn't have any useful content itself. Instead it is a placeholder where a [script](../../Note%20Types/Code/Scripting.md) can render its output.
Scripts for `Render Notes` are defined in a [relation](../Attributes.md) called `~renderNote`. In this example, it's the `Weight Tracker`'s child `Implementation`. The Implementation consists of two [code notes](../../Note%20Types/Code.md) that contain some HTML and JavaScript respectively, which load all the notes with a `weight` attribute and display their values in a chart.
diff --git a/docs/User Guide/User Guide/Advanced Usage/Custom Request Handler.md b/docs/User Guide/User Guide/Advanced Usage/Custom Request Handler.md
index 3b1e52cf1..6adbebe5e 100644
--- a/docs/User Guide/User Guide/Advanced Usage/Custom Request Handler.md
+++ b/docs/User Guide/User Guide/Advanced Usage/Custom Request Handler.md
@@ -1,5 +1,5 @@
# Custom Request Handler
-Trilium provides a mechanism for [scripts](../Note%20Types/Code/Scripts.md) to open a public REST endpoint. This opens a way for various integrations with other services - a simple example would be creating new note from Slack by issuing a slash command (e.g. `/trilium buy milk`).
+Trilium provides a mechanism for [scripts](../Note%20Types/Code/Scripting.md) to open a public REST endpoint. This opens a way for various integrations with other services - a simple example would be creating new note from Slack by issuing a slash command (e.g. `/trilium buy milk`).
## Create note from outside Trilium
diff --git a/docs/User Guide/User Guide/Advanced Usage/Note source.md b/docs/User Guide/User Guide/Advanced Usage/Note source.md
index f613dc589..7cf1f712e 100644
--- a/docs/User Guide/User Guide/Advanced Usage/Note source.md
+++ b/docs/User Guide/User Guide/Advanced Usage/Note source.md
@@ -1,17 +1,17 @@
# Note source
## Understanding the source code of the different notes
-Internally, the structure of the content of each note is different based on the [Note Types](../Note%20Types.md).
+Internally, the structure of the content of each note is different based on the Note Types.
For example:
-* [Text Notes](#root/_hidden/_options/_optionsTextNotes) are represented internally as HTML, using the [CKEditor](Technologies%20used/CKEditor.md) representation. Note that due to the custom plugins, some HTML elements are specific to Trilium only, for example the admonitions.
-* [Code Notes](#root/_hidden/_options/_optionsCodeNotes) are plain text and are represented internally as-is.
-* [Geo map](../Note%20Types/Geo%20Map.md) notes contain only minimal information (viewport, zoom) as a JSON.
-* [Canvas](../Note%20Types/Canvas.md) notes are represented as JSON, with Trilium's own information alongside with [Excalidraw](Technologies%20used/Excalidraw.md)'s internal JSON representation format.
-* [Mind Map](../Note%20Types/Mind%20Map.md) notes are represented as JSON, with the internal format of [MindElixir](Technologies%20used/MindElixir.md).
+* Text notes are represented internally as HTML, using the CKEditor representation. Note that due to the custom plugins, some HTML elements are specific to Trilium only, for example the admonitions.
+* Code notes are plain text and are represented internally as-is.
+* Geo Map notes contain only minimal information (viewport, zoom) as a JSON.
+* Canvas notes are represented as JSON, with Trilium's own information alongside with Excalidraw's internal JSON representation format.
+* Mind Map notes are represented as JSON, with the internal format of MindElixir.
-Note that some information is also stored as [Attachments](../Attachments). For example [Canvas](../Note%20Types/Canvas.md) notes use the attachments feature to store the custom libraries, and alongside with [Mind Map](../Note%20Types/Mind%20Map.md) and other similar note types it stores an SVG representation of the content for use in other features such as including in other notes, shared notes, etc.
+Note that some information is also stored as Attachments. For example Canvas notes use the attachments feature to store the custom libraries, and alongside with Mind Map and other similar note types it stores an SVG representation of the content for use in other features such as including in other notes, shared notes, etc.
Here's part of the HTML representation of this note, as it's stored in the database (but prettified).
@@ -30,7 +30,7 @@ Here's part of the HTML representation of this note, as it's stored in the datab
## Viewing the source code
-It is possible to view the source code of a note by pressing the contextual menu in [Note buttons](../Basic%20Concepts%20and%20Features/UI%20Elements/Note%20buttons.md) and selecting _Note source_.
+It is possible to view the source code of a note by pressing the contextual menu in Note buttons and selecting _Note source_.

diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Notes.md b/docs/User Guide/User Guide/Basic Concepts and Features/Notes.md
index 99cc9dff3..22ee8f262 100644
--- a/docs/User Guide/User Guide/Basic Concepts and Features/Notes.md
+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Notes.md
@@ -3,16 +3,9 @@ Note is a central entity in Trilium. Main attributes of note are title and conte
### Note types
-* [text note](../Note%20Types/Text.md) - this is default note type which allows you to put rich text, images etc.
-* [code note](../Note%20Types/Code.md) - some kind of formal code, typically programming language (e.g. JavaScript) or data structure (e.g. JSON)
-* [image note](https://github.com/TriliumNext/Notes/wiki/Images) - represents single image
-* file note - represents uploaded file (e.g. docx MS Word document).
-* render HTML note - this works as an output screen of attached [scripts](../Note%20Types/Code/Scripts.md)
-* [saved search](../Note%20Types/Saved%20Search.md) note - contains saved search query and dynamically displays result of the search as its sub-notes
-* [relation map](../Note%20Types/Relation%20Map.md) note - visualizes notes and their relations
-* [book note](../Note%20Types/Book.md) - displays its children notes, useful for reading many short notes
-* mermaid - create diagrams and flowcharts using [mermaid.js ↗](https://github.com/mermaid-js/mermaid)
-* [canvas note](#root/fKYGY3OOo5d1) - allows hand drawn notes and basic diagraming on an infinite canvas using [excalidraw ↗](https://github.com/excalidraw/excalidraw)
+The main note type is a rich-text note type called Text. For diagrams and drawing there is Canvas and Mermaid Diagrams.
+
+There are also more complex note types such as Saved Search, Render Note that usually go hand-in-hand with Scripting.
In Trilium there's no specific "folder" note type. Any note can have children and thus be a folder.
@@ -22,7 +15,7 @@ There's one special note called "root note" which is root of the note tree. All
### Tree structure
-Importantly, note itself doesn't carry information on its placement in note tree. See [cloning](Notes/Cloning%20Notes.md) for details.
+Importantly, note itself doesn't carry information on its placement in note tree. See Cloning Notes for details.
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.
@@ -36,7 +29,7 @@ Clicking an undelete will recover the note, it's content and attributes - note s
To be able to undelete a note, it is necessary that deleted note's parent must be undeleted (otherwise there's no place where we can undelete it to). This might become a problem when you delete more notes in succession - the solution is then undelete in the reverse order of your deletion.
-After the 7 days (configurable) the notes will be "erased" - their title, content, revisions and attributes will be erased, and it will not be possible anymore to recover them (unless you restore [backup](../Installation%20%26%20Setup/Backup.md)).
+After the 7 days (configurable) the notes will be "erased" - their title, content, revisions and attributes will be erased, and it will not be possible anymore to recover them (unless you restore a Backup).
## See also
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Attachments.md b/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Attachments.md
index 880683447..36e011c32 100644
--- a/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Attachments.md
+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Attachments.md
@@ -1,7 +1,7 @@
# Attachments
A [note](../Notes.md) in Trilium can _own_ one or more attachments, which can be either images or files. These attachments can be displayed or linked within the note that owns them.
-This can be especially useful to include dependencies for your [scripts](../../Note%20Types/Code/Scripts.md). The Weight Tracker shows how to use [chartjs](https://chartjs.org/) which is attached to the [script note](#root/HcUYTojFohtb).
+This can be especially useful to include dependencies for your [scripts](../../Note%20Types/Code/Scripting.md). The Weight Tracker shows how to use [chartjs](https://chartjs.org/) which is attached to the script note.
Each note exclusively owns its attachments, meaning attachments cannot be shared or linked from one note to another. If an attachment link is copied to a different note, the attachment itself is duplicated, and the copies are managed independently thereafter.
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Export as PDF.md b/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Export as PDF.md
index b422a3cfd..150b03a80 100644
--- a/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Export as PDF.md
+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Export as PDF.md
@@ -23,11 +23,11 @@ gio mime application/pdf
## Reporting issues with the rendering
-Should you encounter any visual issues in the resulting PDF file (e.g. a table does not fit properly, there is cut off text, etc.) feel free to [report the issue](#root/OeKBfN6JbMIq/jRV1MPt4mNSP/hrC6xn7hnDq5). In this case, it's best to offer a sample note (click on the  button, select Export note → This note and all of its descendants → HTML in ZIP archive). Make sure not to accidentally leak any personal information.
+Should you encounter any visual issues in the resulting PDF file (e.g. a table does not fit properly, there is cut off text, etc.) feel free to [report the issue](../../Troubleshooting/Reporting%20issues.md). In this case, it's best to offer a sample note (click on the  button, select Export note → This note and all of its descendants → HTML in ZIP archive). Make sure not to accidentally leak any personal information.
## Landscape mode
-When exporting to PDF, there are no customizable settings such as page orientation, size, etc. However, it is possible to specify a given note to be printed as a PDF in landscape mode by adding the `#printLandscape` attribute to it (see [\[missing note\]](#root/9QRytp0ZYFIf/PnO38wN0ffOA)).
+When exporting to PDF, there are no customizable settings such as page orientation, size, etc. However, it is possible to specify a given note to be printed as a PDF in landscape mode by adding the `#printLandscape` attribute to it (see Attributes).
## Page size
@@ -35,4 +35,4 @@ By default, the resulting PDF will be in Letter format. It is possible to adjust
## Keyboard shortcut
-It's possible to trigger the export to PDF from the keyboard by going to _Keyboard shortcuts_ and assigning a key combination for the `exportAsPdf` action.
\ No newline at end of file
+It's possible to trigger the export to PDF from the keyboard by going to _Keyboard shortcuts_ in Options and assigning a key combination for the `exportAsPdf` action.
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Read-Only Notes.md b/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Read-Only Notes.md
index 1bdd2340c..951ef320e 100644
--- a/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Read-Only Notes.md
+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Read-Only Notes.md
@@ -1,5 +1,5 @@
# Read-Only Notes
-Some note types such as [Text](../../Note%20Types/Text.md) and [Code](../../Note%20Types/Code.md) notes in Trilium can be set to read-only. When a note is in read-only mode, it is presented to the user in a non-editable view, with the option to switch to editing mode if needed.
+Some note types such as Text and Code notes in Trilium can be set to read-only. When a note is in read-only mode, it is presented to the user in a non-editable view, with the option to switch to editing mode if needed.
## Automatic read-only mode
@@ -7,16 +7,18 @@ For optimization purposes, Trilium will automatically set very large notes to re
This behavior can be disabled on a per-note basis, by following the instructions of the next section.
-In addition, it's possible to change the number of characters at which the automatic read-only mode will trigger in [Options](../UI%20Elements/Options.md) by going to the options for Text Notes and Code Notes.
+In addition, it's possible to change the number of characters at which the automatic read-only mode will trigger in Options by going to the options for Text Notes and Code Notes.
## Changing a note's read-only behavior
Via the Ribbon, by going to the _Basic Properties_ tab and looking for the _Editable_ selection. The following options are possible:
* **Auto**
- This is the default behavior in which the note will be editable by default, unless it becomes large enough to trigger read-only mode.
+ This is the default behavior in which the note will be editable by default, unless it becomes large enough to trigger read-only mode.
+
* **Read-only**
- The note will be always marked as read-only, regardless of its size. Nevertheless, it's still possible to temporarily edit the note if needed. This is generally useful for notes that are not prone to change.
+ The note will be always marked as read-only, regardless of its size. Nevertheless, it's still possible to temporarily edit the note if needed. This is generally useful for notes that are not prone to change.
+
* **Always Editable**
This option will bypass the automatic read-only activation for this particular note. It's useful for large notes that are frequently edited.
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Themes.md b/docs/User Guide/User Guide/Basic Concepts and Features/Themes.md
index c82fdeb6b..828589e39 100644
--- a/docs/User Guide/User Guide/Basic Concepts and Features/Themes.md
+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Themes.md
@@ -83,7 +83,7 @@ If you make changes to your theme, press Ctrl + R to reloa
Custom themes can be exported as `.tar` archives, which can be shared with other users. However, be cautious when importing themes from untrusted sources, as they may contain executable scripts that could pose security risks.
-An example user theme, _Steel Blue_, is available in the [demo document](#root/xjSsCcvVZf6H).
+An example user theme, _Steel Blue_, is available in the demo document.

@@ -95,7 +95,7 @@ In addition to full themes, Trilium allows for custom CSS that isn't tied to a t
To use custom CSS:
-1. **Create a CSS Code Note**: Create a new [code note](../Note%20Types/Code.md) with the `CSS` type.
+1. **Create a CSS Code Note**: Create a new Code note with the `CSS` type.
2. **Add the** `appCss` **Label**: Annotate the note with the `#appCss` [label](../Advanced%20Usage/Attributes.md).
3. **Write Your CSS**: Add your custom CSS rules to the note.
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Launch Bar.md b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Launch Bar.md
index d5fed8ae1..184d25de3 100644
--- a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Launch Bar.md
+++ b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Launch Bar.md
@@ -50,7 +50,7 @@ Right click either the _Available launchers_ or _Visible launchers_ sections and
2. Optionally, set `hoistedNote` to hoist a particular note. See [Note Hoisting](../Navigation/Note%20Hoisting.md) for more information.
3. Optionally, set a `keyboardShortcut` to trigger the launcher.
2. **Script Launcher**
- An advanced launcher which will run a script upon pressing. See [Scripts](../../Note%20Types/Code/Scripts.md) for more information.
+ An advanced launcher which will run a script upon pressing. See [Scripts](../../Note%20Types/Code/Scripting.md) for more information.
1. Set `script` to point to the desired script to run.
2. Optionally, set a `keyboardShortcut` to trigger the launcher.
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout.md b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout.md
index be34fb2c3..3b7b55dad 100644
--- a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout.md
+++ b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout.md
@@ -7,11 +7,11 @@ Trilium supports two different layouts, based on your preference.
The vertical layout is Trilium's original layout:
-* The [Launcher Bar](Launch%20Bar.md) is positioned on the left side of the screen, with buttons being laid out vertically.
-* The tab bar is at the top, but to the right of the [Note Tree](Note%20Tree.md).
-* The [Quick search](../Navigation/Quick%20search.md) is at the top of the [Note Tree](Note%20Tree.md).
-* The [Note Tree](Note%20Tree.md) can be collapsed by pressing the  button at the bottom of the [Launcher Bar](Launch%20Bar.md).
-* The [Global menu](Global%20menu.md) can be accessed via the  icon at the top of the [Launcher Bar](Launch%20Bar.md).
+* The Launch Bar is positioned on the left side of the screen, with buttons being laid out vertically.
+* The tab bar is at the top, but to the right of the Note Tree.
+* The Quick search is at the top of the Note Tree.
+* The Note Tree can be collapsed by pressing the  button at the bottom of the Launch Bar.
+* The Global menu can be accessed via the  icon at the top of the Launch Bar.

@@ -19,16 +19,16 @@ The vertical layout is Trilium's original layout:
The horizontal layout is a more traditional layout, since it bears similarity with other applications. In this mode:
-* The [Launcher Bar](Launch%20Bar.md) is at the top of the screen, with the buttons laid horizontally.
+* The Launch Bar is at the top of the screen, with the buttons laid horizontally.
* The tab bar is at the top of the screen, but now covers the entirety of the width, allowing for more tabs to be displayed at once.
-* The [Quick search](../Navigation/Quick%20search.md) is now part of the [Launcher Bar](Launch%20Bar.md). It can be moved around according to preference and even removed if needed.
-* The [Note Tree](Note%20Tree.md) can be collapsed by pressing the small  button to the left of the first tab.
-* The [Global menu](Global%20menu.md) can be accessed via the  button at the end of the [Launcher Bar](Launch%20Bar.md).
+* The Quick search is now part of the Launch Bar. It can be moved around according to preference and even removed if needed.
+* The Note Tree can be collapsed by pressing the small  button to the left of the first tab.
+* The Global menu can be accessed via the  button at the end of the Launch Bar.

## Changing the layout
-Go to [Settings](#root/_hidden/_lbRoot/_lbVisibleLaunchers/_lbSettings) and look for the _Appearance_ option on the left. Then look for the _Layout_ section, where there is the possibility to switch between the two available layouts.
+Go to Options and look for the _Appearance_ option on the left. Then look for the _Layout_ section, where there is the possibility to switch between the two available layouts.
Selecting an option will immediately apply the new layout by reloading the window.
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/FAQ.md b/docs/User Guide/User Guide/FAQ.md
index d9efbd966..7a30ea58c 100644
--- a/docs/User Guide/User Guide/FAQ.md
+++ b/docs/User Guide/User Guide/FAQ.md
@@ -17,7 +17,7 @@ Common request is to allow multiple users collaborate, share notes etc. So far I
* it's a huge feature, or rather a Pandora's box of collaboration features like user management, permissions, conflict resolution, real-time editing of a note by multiple people etc. This would be a huge amount of work. Trilium Notes is project made mostly by one person in free time and that's unlikely to change in the future.
* given its size it would probably pivot the attention away from my main focus which is a personal note-taking
-* the assumption that only single person has access to the app simplifies many things, or just outright makes them possible. In multi-user app, our [scripting](Note%20Types/Code/Scripts.md)support would be a XSS security hole, while with the single user assumption it's an endless customizable tool.
+* the assumption that only single person has access to the app simplifies many things, or just outright makes them possible. In multi-user app, our [scripting](Note%20Types/Code/Scripting.md)support would be a XSS security hole, while with the single user assumption it's an endless customizable tool.
## How to open multiple documents in one Trilium instance
diff --git a/docs/User Guide/User Guide/Installation & Setup/Backup.md b/docs/User Guide/User Guide/Installation & Setup/Backup.md
index a67971a49..1c0a90cbc 100644
--- a/docs/User Guide/User Guide/Installation & Setup/Backup.md
+++ b/docs/User Guide/User Guide/Installation & Setup/Backup.md
@@ -1,5 +1,5 @@
# Backup
-Trilium supports simple backup scheme where it saves copy of the [document](#root/xjSsCcvVZf6H) on these events:
+Trilium supports simple backup scheme where it saves copy of the Database on these events:
* once a day
* once a week
@@ -8,9 +8,9 @@ Trilium supports simple backup scheme where it saves copy of the [document](#roo
So in total you'll have at most 4 backups from different points in time which should protect you from various problems. These backups are stored by default in `backup` directory placed in the [data directory](Data%20directory.md).
-This is only very basic backup solution, and you're encouraged to add some better backup solution - e.g. backing up the [document](#root/xjSsCcvVZf6H) to cloud / different computer etc.
+This is only very basic backup solution, and you're encouraged to add some better backup solution - e.g. backing up the Database to cloud / different computer etc.
-Note that [synchronization](Synchronization.md) provides also some backup capabilities by its nature of distributing the data to other computers.
+Note that Synchronization provides also some backup capabilities by its nature of distributing the data to other computers.
## Restoring backup
@@ -18,7 +18,7 @@ Let's assume you want to restore the weekly backup, here's how to do it:
* find [data directory](Data%20directory.md) Trilium uses - easy way is to open "About Trilium Notes" from "Menu" in upper left corner and looking at "data directory"
* I'll refer to `~/trilium-data` as data directory from now on
-* find `~/trilium-data/backup/backup-weekly.db` - this is the [document](#root/xjSsCcvVZf6H) backup
+* find `~/trilium-data/backup/backup-weekly.db` - this is the Database backup
* at this point stop/kill Trilium
* delete `~/trilium-data/document.db`, `~/trilium-data/document.db-wal` and `~/trilium-data/document.db-shm` (latter two files are auto generated)
* copy and rename this `~/trilium-data/backup/backup-weekly.db` to `~/trilium-data/document.db`
diff --git a/docs/User Guide/User Guide/Installation & Setup/Mobile Frontend.md b/docs/User Guide/User Guide/Installation & Setup/Mobile Frontend.md
index af306ff07..53351321a 100644
--- a/docs/User Guide/User Guide/Installation & Setup/Mobile Frontend.md
+++ b/docs/User Guide/User Guide/Installation & Setup/Mobile Frontend.md
@@ -31,4 +31,4 @@ Trilium decides automatically whether to use mobile or desktop frontend. If this
## Scripting
-You can alter the behavior with [scripts](../Note%20Types/Code/Scripts.md) just like for normal frontend. For script notes to be executed, they need to have labeled `#run=mobileStartup`.
\ No newline at end of file
+You can alter the behavior with [scripts](../Note%20Types/Code/Scripting.md) just like for normal frontend. For script notes to be executed, they need to have labeled `#run=mobileStartup`.
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Note Types.md b/docs/User Guide/User Guide/Note Types.md
index db8da18f4..a455fb6ee 100644
--- a/docs/User Guide/User Guide/Note Types.md
+++ b/docs/User Guide/User Guide/Note Types.md
@@ -25,17 +25,4 @@ It is possible to change the type of a note after it has been created via the _B
The following note types are supported by Trilium:
-| | |
-| --- | --- |
-| Text | The default note type, which allows for rich text formatting, images, admonitions and right-to-left support. |
-| Code | Uses a mono-space font and can be used to store larger chunks of code or plain text than a text note, and has better syntax highlighting. |
-| Saved Search | Stores the information about a search (the search text, criteria, etc.) for later use. Can be used for quick filtering of a large amount of notes, for example. The search can easily be triggered. |
-| Relation Map | Allows easy creation of notes and relations between them. Can be used for mainly relational data such as a family tree. |
-| Note Map | Displays the relationships between the notes, whether via relations or their hierarchical structure. |
-| Render Note | Used in Scripts, it displays the HTML content of another note. This allows displaying any kind of content, provided there is a script behind it to generate it. |
-| Book | Displays the children of the note either as a grid, a list, or for a more specialized case: a calendar. |
-| Mermaid Diagrams | Displays diagrams such as bar charts, flow charts, state diagrams, etc. Requires a bit of technical knowledge since the diagrams are written in a specialized format. |
-| Canvas | Allows easy drawing of sketches, diagrams, handwritten content. Uses the same technology behind [excalidraw.com](https://excalidraw.com). |
-| Web View | Displays the content of an external web page, similar to a browser. |
-| Mind Map | Easy for brainstorming ideas, by placing them in a hierarchical layout. |
-| Geo Map | Displays the children of the note as a geographical map, one use-case would be to plan vacations. It even has basic support for tracks. Notes can also be created from it. |
\ No newline at end of file
+ Displays the children of the note either as a grid, a list, or for a more specialized case: a calendar. Generally useful for easy reading of short notes.Note Type Description Text The default note type, which allows for rich text formatting, images, admonitions and right-to-left support. Code Uses a mono-space font and can be used to store larger chunks of code or plain text than a text note, and has better syntax highlighting. Saved Search Stores the information about a search (the search text, criteria, etc.) for later use. Can be used for quick filtering of a large amount of notes, for example. The search can easily be triggered. Relation Map Allows easy creation of notes and relations between them. Can be used for mainly relational data such as a family tree. Note Map Displays the relationships between the notes, whether via relations or their hierarchical structure. Render Note Used in Scripting, it displays the HTML content of another note. This allows displaying any kind of content, provided there is a script behind it to generate it. Book Mermaid Diagrams Displays diagrams such as bar charts, flow charts, state diagrams, etc. Requires a bit of technical knowledge since the diagrams are written in a specialized format. Canvas Allows easy drawing of sketches, diagrams, handwritten content. Uses the same technology behind excalidraw.com. Web View Displays the content of an external web page, similar to a browser. Mind Map Easy for brainstorming ideas, by placing them in a hierarchical layout. Geo Map Displays the children of the note as a geographical map, one use-case would be to plan vacations. It even has basic support for tracks. Notes can also be created from it. File Represents an uploaded file such as PDFs, images, video or audio files.
Trilium offers advanced functionality through Scripts and +
Trilium offers advanced functionality through Scripts and Promoted Attributes. To illustrate these features, we've prepared several showcases available in the demo notes:
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Task Manager.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Task Manager.html index 23fb6d32d..f30e0366e 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Task Manager.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Task Manager.html @@ -15,7 +15,7 @@Task Manager is a promoted attributes and scriptsshowcase present in the demo notes.
+ href="../../Note%20Types/Code/Scripting.html">scriptsshowcase present in the demo notes.
@@ -37,7 +37,7 @@
Task template defines several promoted attributes -
todoDate, doneDate, tags, location. Importantly it also defines ~runOnAttributeChange
relation
- event handler which is
- run on attribute change. This script handles
+ run on attribute change. This script handles
when e.g. we fill out the doneDate attribute - meaning the task is done
and should be moved to "Done" note and removed from TODO, locations and
tags.
The Weight Tracker
note in the screenshot above is of the type Render Note
.
That type of note doesn't have any useful content itself. Instead it is
- a placeholder where a script can
+ a placeholder where a script can
render its output.
Scripts for Render Notes
are defined in a relation called ~renderNote
.
In this example, it's the Weight Tracker
's child Implementation
.
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Custom Request Handler.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Custom Request Handler.html
index 8566430d4..ee165623a 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Custom Request Handler.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Custom Request Handler.html
@@ -13,7 +13,7 @@
Trilium provides a mechanism for scripts to +
Trilium provides a mechanism for scripts to
open a public REST endpoint. This opens a way for various integrations
with other services - a simple example would be creating new note from
Slack by issuing a slash command (e.g. /trilium buy milk
).
Internally, the structure of the content of each note is different based - on the Note Types.
+ on the Note Types.For example:
Note that some information is also stored as Attachments. - For example Canvas notes +
Note that some information is also stored as Attachments. + For example Canvas notes use the attachments feature to store the custom libraries, and alongside - with Mind Map and + with Mind Map and other similar note types it stores an SVG representation of the content for use in other features such as including in other notes, shared notes, etc.
@@ -52,7 +56,7 @@ </p>It is possible to view the source code of a note by pressing the contextual - menu in Note buttons and + menu in Note buttons and selecting Note source.
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes.html
index 254220c22..9682039be 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes.html
@@ -16,30 +16,15 @@
Note is a central entity in Trilium. Main attributes of note are title and content.
The main note type is a rich-text note type called Text. For diagrams and drawing there + is Canvas and + Mermaid Diagrams.
+There are also more complex note types such as Saved Search, Render Note that usually + go hand-in-hand with Scripting.
In Trilium there's no specific "folder" note type. Any note can have children and thus be a folder.
Importantly, note itself doesn't carry information on its placement in - note tree. See cloning for details.
+ note tree. See Cloning Notes for + details.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 @@ -70,7 +56,8 @@ - the solution is then undelete in the reverse order of your deletion.
After the 7 days (configurable) the notes will be "erased" - their title, content, revisions and attributes will be erased, and it will not be possible - anymore to recover them (unless you restore backup).
+ anymore to recover them (unless you restore a Backup).A note in Trilium can own one or more attachments, which can be either images or files. These attachments can be displayed or linked within the note that owns them.
-This can be especially useful to include dependencies for your scripts. +
This can be especially useful to include dependencies for your scripts. The Weight Tracker shows how to use chartjs which is attached to - the script note.
+ the script note.Each note exclusively owns its attachments, meaning attachments cannot be shared or linked from one note to another. If an attachment link is copied to a different note, the attachment itself is duplicated, and the diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Export as PDF.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Export as PDF.html index f19f6219b..41632d37b 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Export as PDF.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Export as PDF.html @@ -37,7 +37,7 @@
Should you encounter any visual issues in the resulting PDF file (e.g.
a table does not fit properly, there is cut off text, etc.) feel free to
report the issue. In this case, it's best to offer a sample note (click
+ href="../../Troubleshooting/Reporting%20issues.html">report the issue. In this case, it's best to offer a sample note (click
on the
button, select Export note → This note and all of its descendants → HTML
in ZIP archive). Make sure not to accidentally leak any personal information.
When exporting to PDF, there are no customizable settings such as page
orientation, size, etc. However, it is possible to specify a given note
to be printed as a PDF in landscape mode by adding the #printLandscape
attribute
- to it (see [missing note]).
By default, the resulting PDF will be in Letter format. It is possible
to adjust it to another page size via the #printPageSize
attribute,
with one of the following values: A0
, A1
, A2
, A3
, A4
, A5
, A6
, Legal
, Letter
, Tabloid
, Ledger
.
It's possible to trigger the export to PDF from the keyboard by going
- to Keyboard shortcuts and assigning a key combination
- for the exportAsPdf
action.
exportAsPdf
action.