diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases.html index 6069a6f40..3dc7a92ca 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases.html @@ -13,18 +13,18 @@

Advanced Showcases

-

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:

+ href="#root/_help_OFXdgB2nNk1F">Promoted Attributes. To illustrate these features, we've prepared + several showcases available in the demo notes:

It's important to note that these examples are not natively supported diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes.html index f9b3cbf2e..935e6d0d7 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes.html @@ -27,7 +27,7 @@

-

This pattern works well also because of Cloning Notes functionality +

This pattern works well also because of Cloning Notes functionality - note can appear in multiple places in the note tree, so besides appearing under day note, it can also be categorized into other notes.

Demo

@@ -38,11 +38,11 @@ - there's a note for the whole year 2017, under it, you have "12 - December" which then contains "18 - Monday". This is our "day note" which contains some text in its content and also has some child notes (some of them are - from Task manager).

-

You can also notice how this day note has promoted attribute "weight" - where you can track your daily weight. This data is then used in Weight tracker.

+ from Task manager).

+

You can also notice how this day note has promoted attribute "weight" + where you can track your daily weight. This data is then used in Weight tracker.

Templates

-

Trilium provides template functionality, +

Trilium provides template functionality, and it could be used together with day notes.

You can define one of the following relations on the root of the journal (identified by #calendarRoot label):

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 cccd12df6..d74071e5e 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 @@ -13,9 +13,9 @@

Task Manager

-

Task Manager is a promoted attributes and +

Task Manager is a promoted attributes and scriptsshowcase present in the demo notes.

+ href="#root/_help_CdNpE2pqjmI6">scriptsshowcase present in the demo notes.

Demo

@@ -24,23 +24,22 @@ doneDate attribute). Outstanding tasks are further categorized by location and arbitrary tags - whenever you change tag attribute in the task note, this task is then automatically moved to appropriate location.

-

Task Manager also integrates with day notes - - notes are cloned into - day note to both todoDate note and doneDate note (with prefix of +

Task Manager also integrates with day notes - + notes are cloned into day note to + both todoDate note and doneDate note (with prefix of either "TODO" or "DONE").

Implementation

New tasks are created in the TODO note which has ~child:template relation(see attribute inheritance) + href="#root/_help_zEY4DaJG4YT5">relation(see attribute inheritance) pointing to the task template.

Attributes

-

Task template defines several promoted attributes - +

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 - 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.

+ - event handler which is 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.

New task button

There's also "button" note which contains simple script which adds a button to create new note (task) in the TODO note.

api.addButtonToToolbar({
@@ -64,7 +63,7 @@
         

CSS

In the demo screenshot above you may notice that TODO tasks are in red color and DONE tasks are green.

-

This is done by having this CSS code note which +

This is done by having this CSS code note which defines extra CSS classes:

span.fancytree-node.todo .fancytree-title {
     color: red !important;
 }
@@ -72,9 +71,9 @@
 span.fancytree-node.done .fancytree-title {
     color: green !important;
 }
-

This code note has #appCss +

This code note has #appCss labelwhich is recognized by Trilium on startup and loaded as CSS into + href="#root/_help_zEY4DaJG4YT5">labelwhich is recognized by Trilium on startup and loaded as CSS into the application.

Second part of this functionality is based in event handler described above which assigns #cssClass label to the task to either "done" diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Weight Tracker.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Weight Tracker.html index 77557868b..2093984ba 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Weight Tracker.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Weight Tracker.html @@ -16,19 +16,19 @@

-

The Weight Tracker is a Script API showcase - present in the demo notes.

-

By adding weight as a promoted attribute in - the template from which day notes are +

The Weight Tracker is a Script API showcase + present in the demo notes.

+

By adding weight as a promoted attribute in + the template from which day notes are created, you can aggregate the data and plot weight change over time.

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 can render + a placeholder where a script can render its output.

-

Scripts for Render Notes are defined in a relation called ~renderNote. +

Scripts for Render Notes are defined in a relation called ~renderNote. In this example, it's the Weight Tracker's child Implementation. - The Implementation consists of two code notes that + The Implementation consists of two code notes that contain some HTML and JavaScript respectively, which load all the notes with a weight attribute and display their values in a chart.

To actually render the chart, we're using a third party library called @@ -36,7 +36,7 @@ href="https://www.chartjs.org/">chart.jswhich is imported as an attachment, since it's not built into Trilium.

Code

-

Here's the content of the script which is placed in a code note of +

Here's the content of the script which is placed in a code note of type JS Frontend:

async function getChartData() {
     const days = await api.runOnBackend(async () => {
         const notes = api.getNotesWithLabel('weight');
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes.html
index a52792cbb..21f01f1f2 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes.html	
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes.html	
@@ -21,26 +21,26 @@
           additional metadata or functionality. There are two primary types of attributes:

  1. -

    Labels can +

    Labels can be used for a variety of purposes, such as storing metadata or configuring the behaviour of notes. Labels are also searchable, enhancing note retrieval.

    For more information, including predefined labels, see Labels.

    + href="#root/_help_HI6GBBIduIgv">Labels.

  2. -

    Relations define +

    Relations define connections between notes, similar to links. These can be used for metadata and scripting purposes.

    For more information, including a list of predefined relations, see  Relations.

    + class="reference-link" href="#root/_help_Cq5X6iKQop6R">Relations.

These attributes play a crucial role in organizing, categorising, and enhancing the functionality of notes.

Viewing the list of attributes

Both the labels and relations for the current note are displayed in the Owned Attributes section - of the Ribbon, + of the Ribbon, where they can be viewed and edited. Inherited attributes are displayed in the Inherited Attributes section of the ribbon, where they can only be viewed.

@@ -52,11 +52,11 @@

Attribute Definitions and Promoted Attributes

Special labels create "label/attribute" definitions, enhancing the organization and management of attributes. For more details, see Promoted Attributes.

+ href="#root/_help_OFXdgB2nNk1F">Promoted Attributes.

Attribute Inheritance

Trilium supports attribute inheritance, allowing child notes to inherit attributes from their parents. For more information, see Attribute Inheritance.

+ href="#root/_help_bwZpz2ajCEwO">Attribute Inheritance.

diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Attribute Inheritance.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Attribute Inheritance.html index 043bcf0d0..f103a2b8f 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Attribute Inheritance.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Attribute Inheritance.html @@ -13,9 +13,9 @@

Attribute Inheritance

-

Inheritance refers to the process of having a label or - a relation shared across multiple notes, generally - in parent-child relations (or anywhere if using templates).

+

Inheritance refers to the process of having a label or + a relation shared across multiple + notes, generally in parent-child relations (or anywhere if using templates).

Standard Inheritance

In Trilium, attributes can be automatically inherited by child notes if they have the isInheritable flag set to true. This @@ -23,7 +23,7 @@ descendants.

To make an attribute inheritable, simply use the visual editor for  Labels or Relations. + class="reference-link" href="#root/_help_HI6GBBIduIgv">Labels or Relations. Alternatively, the attribute can be manually defined where #myLabel=value becomes #myLabel(inheritable)=value when inheritable.

As an example, the archived label can be set to be inheritable, @@ -59,7 +59,7 @@ apply retroactively to existing notes in the hierarchy, it will only apply to the newly created notes.

Template Inheritance

-

Attributes can also be inherited from Templates. +

Attributes can also be inherited from Templates. When a new note is created using a template, it inherits the attributes defined in that template. This is particularly useful for maintaining consistency across notes that follow a similar structure or function.

diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Labels.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Labels.html index 87c801fe6..2b5656b90 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Labels.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Labels.html @@ -13,24 +13,24 @@

Labels

-

A label is an attribute of a note which - has a name and optionally a value.

+

A label is an attribute of a note + which has a name and optionally a value.

Common use cases

  • Metadata for personal use: Assign labels with optional values for categorization, such as #year=1999, #genre="sci-fi", or #author="Neal Stephenson". This can be combined with  Promoted Attributes to make their display more user-friendly.
  • + class="reference-link" href="#root/_help_OFXdgB2nNk1F">Promoted Attributes to make their display more user-friendly.
  • Configuration: Labels can configure advanced features or settings (see reference below).
  • Scripts and Plugins: Used to tag notes with special metadata, - such as the "weight" attribute in the Weight Tracker.
  • + such as the "weight" attribute in the Weight Tracker.

Creating a label using the visual editor

  1. Go to the Owned Attributes section in the Ribbon.
  2. + href="#root/_help_BlN9DFI679QC">Ribbon.
  3. Press the + button (Add new attribute) to the right.
  4. Select Add new label for the relation.
@@ -44,12 +44,12 @@
  • Set the desired name
  • Optionally, set the value of the label. Labels can exist without a value.
  • Check Inheritable if the label should be inherited by the child - notes as well. See Attribute Inheritance for + notes as well. See Attribute Inheritance for more information.
  • Creating a label manually

    In the Owned Attributes section in the Ribbon:

    + href="#root/_help_BlN9DFI679QC">Ribbon:

    • To create a label called myLabel with no value, simply type #myLabel.
    • To create a label called myLabel with a value value, @@ -83,28 +83,28 @@ disableVersioning - Disables automatic creation of Note Revisions for + Disables automatic creation of Note Revisions for a particular note. Useful for e.g. large, but unimportant notes - e.g. large JS libraries used for scripting. versioningLimit - Limits the maximum number of Note Revisions for + Limits the maximum number of Note Revisions for a particular note, overriding the global settings. calendarRoot Marks the note which should be used as root for Day Notes. Only one - should be marked as such. + href="#root/_help_l0tKav7yLHGF">Day Notes. Only one should be marked + as such. archived Hides notes from default search results and dialogs. Archived notes can - optionally be hidden in the Note Tree. + optionally be hidden in the Note Tree. excludeFromExport @@ -114,7 +114,7 @@ run, runOnInstance, runAtHour - See Events. + See Events. disableInclusion @@ -157,20 +157,20 @@ hidePromotedAttributes - Hide Promoted Attributes on + Hide Promoted Attributes on this note. Generally useful when defining inherited attributes, but the parent note doesn't need them. readOnly - Marks a note to be always be read-only, + Marks a note to be always be read-only, if it's a supported note (text, code, mermaid). autoReadOnlyDisabled - Disables automatic read-only mode for + Disables automatic read-only mode for the given note. @@ -178,14 +178,13 @@ Marks CSS notes which are loaded into the Trilium application and can thus be used to modify Trilium's looks. See Custom app-wide CSS for - more info. + href="#root/_help_AlhDUqhENtH7">Custom app-wide CSS for more info. appTheme Marks CSS notes which are full Trilium themes and are thus available in - Trilium options. See Theme development for + Trilium options. See Theme development for more information. @@ -194,14 +193,14 @@ Set to next, next-light, or next-dark to use the corresponding TriliumNext theme (auto, light or dark) as the base for a custom theme, instead of the legacy one. See Customize the Next theme for - more information. + href="#root/_help_WFGzWeUK6arS">Customize the Next theme for more + information. cssClass Value of this label is then added as CSS class to the node representing - given note in the Note Tree. + given note in the Note Tree. This can be useful for advanced theming. Can be used in template notes. @@ -215,23 +214,23 @@ pageSize Specifies the number of items per page in Note List. + href="#root/_help_0ESUbbAxVnoK">Note List. customRequestHandler - See Custom Request Handler. + See Custom Request Handler. customResourceProvider - See Custom Resource Providers. + See Custom Resource Providers. widget Marks this note as a custom widget which will be added to the Trilium - component tree. See Custom Widgets for + component tree. See Custom Widgets for more information. @@ -239,11 +238,11 @@ New search notes will be created as children of this note (see  Saved Search). + class="reference-link" href="#root/_help_m523cpzocqaD">Saved Search). workspace and related attributes - See Workspaces. + See Workspaces. inbox @@ -255,31 +254,31 @@ sqlConsoleHome - Default location of SQL Console notes + Default location of SQL Console notes bookmarked - Indicates this note is a bookmark. + Indicates this note is a bookmark. bookmarkFolder Note with this label will appear in bookmarks as folder (allowing access - to its children). See Bookmarks for + to its children). See Bookmarks for more information. share* - See the attribute reference in Sharing. + See the attribute reference in Sharing. displayRelations, hideRelations Comma delimited names of relations which should be displayed/hidden in - a Relation Map (both - the note type and the Note Map (Link map, Tree map) general + a Relation Map (both + the note type and the Note Map (Link map, Tree map) general functionality). @@ -297,7 +296,7 @@
    • to mirror the parent's template.
    -

    See Default Note Title for +

    See Default Note Title for more info.

    @@ -305,13 +304,13 @@ template This note will appear in the selection of available template when creating - new note. See Templates for + new note. See Templates for more information. toc - Controls the display of the Table of contents for + Controls the display of the Table of contents for a given note. #toc or #toc=show to always display the table of contents, #toc=false to always hide it. @@ -349,7 +348,7 @@ excludeFromNoteMap Notes with this label will be hidden from the Note Map. + href="#root/_help_bdUJEHsAPYQR">Note Map. newNotesOnTop @@ -359,12 +358,12 @@ hideHighlightWidget - Hides the Highlights list widget + Hides the Highlights list widget hideChildrenOverview - Hides the Note List for + Hides the Note List for that particular note. @@ -383,19 +382,18 @@ Indicates the latitude and longitude of a note, to be displayed in a  Geo Map. + class="reference-link" href="#root/_help_81SGnPGMk7Xc">Geo Map. calendar:* - Defines specific options for the Calendar View. + Defines specific options for the Calendar View. viewType Sets the view of child notes (e.g. grid or list). See Note List for - more information. + href="#root/_help_0ESUbbAxVnoK">Note List for more information. diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Promoted Attributes.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Promoted Attributes.html index e44de65a9..81450f2ff 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Promoted Attributes.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Promoted Attributes.html @@ -13,7 +13,7 @@

    Promoted Attributes

    -

    Promoted attributes are attributes which +

    Promoted attributes are attributes which are considered important and thus are "promoted" onto the main note UI. See example below:

    @@ -37,7 +37,7 @@

    You can notice tag attribute definition. These "definition" attributes define how the "value" attributes should behave.

    So there's one attribute for value and one for definition. But notice - how definition attribute is Inheritable, + how definition attribute is Inheritable, meaning that it's also applied to all descendant note. So in a way, this definition is used for the whole subtree while "value" attributes are applied only for this note.

    diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Relations.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Relations.html index bfb1d8d1c..c80064712 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Relations.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Relations.html @@ -13,26 +13,26 @@

    Relations

    -

    A relation is similar to a label, but instead - of having a text value it refers to another note.

    +

    A relation is similar to a label, + but instead of having a text value it refers to another note.

    Common use cases

    • Metadata Relationships for personal use: For example, linking a book note to an author note. -
      This can be combined with Promoted Attributes to +
      This can be combined with Promoted Attributes to make their display more user-friendly.
    • Configuration: For configuring some notes such as  Render Note, or configuring Sharing or  + class="reference-link" href="#root/_help_HcABDtFCkbFN">Render Note, or configuring Sharing or  Templates (see the list below).
    • + class="reference-link" href="#root/_help_KC1HB96bqqHX">Templates (see the list below).
    • Scripting: Attaching scripts to events or conditions related to the note.

    Creating a relation using the visual editor

    1. Go to the Owned Attributes section in the Ribbon.
    2. + href="#root/_help_BlN9DFI679QC">Ribbon.
    3. Press the + button (Add new attribute) to the right.
    4. Select Add new relation for the relation.
    @@ -47,12 +47,12 @@
  • Set the Target note (the note to point to). Unlike labels, relations cannot exist with a target note.
  • Check Inheritable if the label should be inherited by the child - notes as well. See Attribute Inheritance for + notes as well. See Attribute Inheritance for more information.
  • Creating a relation manually

    In the Owned Attributes section in the Ribbon:

    + href="#root/_help_BlN9DFI679QC">Ribbon:

    • To create a relation called myRelation:
        @@ -60,7 +60,7 @@
      • After this, an autocompletion box should appear.
      • Type the title of the note to point to and press Enter to confirm (or click the desired note).
      • -
      • Alternatively copy a note from the Note Tree and +
      • Alternatively copy a note from the Note Tree and paste it after the = sign (without the @ , in this case).
      @@ -92,7 +92,7 @@ runOn* - See Events + See Events @@ -106,14 +106,14 @@ inherit note's attributes will be inherited even without a parent-child relationship. - See Templates for - a similar concept. See Attribute Inheritance in + See Templates for + a similar concept. See Attribute Inheritance in the documentation. renderNote - notes of type Render Note will + notes of type Render Note will be rendered using a code note (HTML or script) and it is necessary to point using this relation to which note should be rendered diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Bulk Actions.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Bulk Actions.html index d2d43a367..3f354ef4a 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Bulk Actions.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Bulk Actions.html @@ -23,16 +23,16 @@

      Interaction

      • The first step is to select the notes in the Note Tree. - It's possible to apply bulk actions to: + href="#root/_help_oPVyFC7WL2Lp">Note Tree. It's possible to apply bulk + actions to:
        • A single note (and potentially its child notes) simply by clicking on it (with a left click or a right click).
        • -
        • Multiple notes. See Multiple selection on +
        • Multiple notes. See Multiple selection on how to do so.
      • -
      • Right click in the Note Tree and +
      • Right click in the Note Tree and select AdvancedApply bulk actions.
      • By default, only the selected notes will be affected. To also include all the descendants of the notes, check Include descendants of the selected notes. @@ -55,12 +55,12 @@

      Actions

      Labels

      -

      These actions operate the Labels of +

      These actions operate the Labels of a note:

      • Add label
          -
        • For each note, if it doesn't already have a label of +
        • For each note, if it doesn't already have a label of the given name, it will create it. Keep the New value field empty to create a label without a value, or complete it to assign a value.
        • If a note already has this label, its value will be updated.
        • @@ -68,7 +68,7 @@
        • Update label value
            -
          • For each note, if it has a label of +
          • For each note, if it has a label of the given name, it will change its value to the specified one. Leave New value field empty to create a label without a value.
          • Notes without the label will not be affected.
          • @@ -76,7 +76,7 @@
          • Rename label
              -
            • For each note, if it has a label of +
            • For each note, if it has a label of the given name, it will be renamed/replaced with a label of the new name. The value of the label (if present) will be kept intact.
            • Notes without the label will not be affected.
            • @@ -91,7 +91,7 @@

            Relations

            -

            These actions operate the Relations of +

            These actions operate the Relations of a note:

            • Add relation @@ -129,7 +129,7 @@
            • As a more advanced use case, the note can be a “template string” which allows for dynamic values with access to the note information via  FNote, for example: + class="reference-link" href="#root/_help_habiZ3HU8Kw8">FNote, for example:
              • NEW: ${note.title} will prefix all notes with NEW: .
              • ${note.dateCreatedObj.format('MM-DD:')}: ${note.title} will @@ -142,7 +142,7 @@
                • For each note, it will be moved to the specified parent note.
                • As an alternative for less complex situations, the notes can be moved - directly from within the Note Tree via + directly from within the Note Tree via cut → paste or via the contextual menu.
              • @@ -150,13 +150,13 @@
                • For each note, it will be deleted.
                • As an alternative for less complex situations, the notes can be removed - directly from within the Note Tree by + directly from within the Note Tree by selecting them and pressing Delete.
              • Delete note revisions
              • diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Trilium instance.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Trilium instance.html index 6e447278e..6d35bddce 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Trilium instance.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Trilium instance.html @@ -14,10 +14,10 @@

                A Trilium instance represents a server. If Synchronization is - set up, since multiple servers are involved (the one from the desktop client - and the one the synchronisation is set up with), sometimes it can be useful - to distinguish the instance you are running on.

                + href="#root/_help_cbkrhQjrkKrh">Synchronization is set up, since + multiple servers are involved (the one from the desktop client and the + one the synchronisation is set up with), sometimes it can be useful to + distinguish the instance you are running on.

                Setting the instance name

                To set up a name for the instance, modify the config.ini:

                [General]
                 instanceName=Hello
                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 1c3bce6b6..c825d72da 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,14 +13,14 @@

                Custom Request Handler

                -

                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).

                Create note from outside Trilium

                Let's take a look at an example. The goal is to provide a REST endpoint to which we can send title and content and Trilium will create a note.

                -

                We'll start with creating a JavaScript backend code note containing:

                const {req, res} = api;
                +        

                We'll start with creating a JavaScript backend code note containing:

                const {req, res} = api;
                 const {secret, title, content} = req.body;
                 
                 if (req.method == 'POST' && secret === 'secret-password') {
                @@ -55,7 +55,7 @@ Content-Type: application/json
                 }+++++++++++++++++++++++++++++++++++++++++++++++

                Notice the /custom part in the request path - Trilium considers any request with this prefix as "custom" and tries to find a matching handler - by looking at all notes which have customRequestHandler label. + by looking at all notes which have customRequestHandler label. Value of this label then contains a regular expression which will match the request path (in our case trivial regex "create-note").

                Trilium will then find our code note created above and execute it. api.req, api.res are @@ -68,12 +68,12 @@ Content-Type: application/json and you need to take care of this yourself.

                Once we pass these checks we will just create the desired note using Script API.

                + href="#root/_help_GLks18SNjxmC">Script API.

                Custom resource provider

                Another common use case is that you want to just expose a file note - in such case you create label customResourceProvider (value is again path regex).

                -

                For more information, see Custom Resource Providers.

                +

                For more information, see Custom Resource Providers.

                Advanced concepts

                api.req and api.res are Express.js objects - you can always look into its documentation for diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Database.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Database.html index be62b8869..1abcd2e14 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Database.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Database.html @@ -16,30 +16,30 @@

                Your Trilium data is stored in a SQLite database which contains all notes, tree structure, metadata, and most of the configuration. The database file is named document.db and is stored in the - application's default Data directory.

                + application's default Data directory.

                Demo Notes

                When first starting Trilium, it will provide a set of notes to showcase various features of the application.

                -

                For more information see Demo Notes.

                +

                For more information see Demo Notes.

                Manually Modifying the Database

                Trilium provides a lot of flexibility, and with it, opportunities for advanced users to tweak it. If you need to explore or modify the database directly, you can use a tool such as SQLite Browser to work directly on the database file.

                -

                See Manually altering the database for +

                See Manually altering the database for more information.

                How to Reset the Database

                If you are experimenting with Trilium and want to return it to its original state, you can do that by deleting the current database. When you restart the application, it will generate a new database containing the original demo notes.

                -

                To delete the database, simply go to the data directory and +

                To delete the database, simply go to the data directory and delete the document.db file (and any other files starting with document.db).

                If you do not need to preserve any configurations that might be stored - in the config.ini file, you can just delete all of the data directory's contents + in the config.ini file, you can just delete all of the data directory's contents to fully restore the application to its original state. You can also review - the configuration file - to provide all config.ini values as environment variables instead.

                + the configuration file to provide + all config.ini values as environment variables instead.

                diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Demo Notes.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Demo Notes.html index bc15cd499..236e974bf 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Demo Notes.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Demo Notes.html @@ -16,15 +16,15 @@

                When you run Trilium for the first time, it will generate a new database containing demo notes. These notes showcase its many features, such as:

                Restoring Demo Notes

                diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Manually altering the database.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Manually altering the database.html index d831e67c7..b1316d019 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Manually altering the database.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Manually altering the database.html @@ -20,7 +20,7 @@ of your document.db file.

                Modifying it internally using the SQL Console

                The SQL Console is Trilium's built-in database editor.

                -

                See SQL Console.

                +

                See SQL Console.

                Externally modifying the database

                Sometimes the SQL Console cannot be used (for example if the application cannot start).

                @@ -32,7 +32,7 @@

                To do so:

                1. In the main menu, select File → Open database… and navigate to the database - in the Data directory.
                2. + in the Data directory.
                3. Select the Execute SQL tab.
                4. Type in the desired SQL statement.
                5. Press the "Play" button in the toolbar underneath the "Execute SQL" tab diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/SQL Console.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/SQL Console.html index b46213d83..ea1a5e518 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/SQL Console.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/SQL Console.html @@ -14,7 +14,7 @@

                  The SQL Console is Trilium's built-in database editor.

                  -

                  It can be accessed by going to the global menu → +

                  It can be accessed by going to the global menu → Advanced → Open SQL Console.

                  @@ -42,7 +42,7 @@

                  Saved SQL console

                  SQL queries or commands can be saved into a dedicated note.

                  To do so, simply write the query and press the - button. Once saved, the note will appear in Day Notes.

                  + button. Once saved, the note will appear in Day Notes.

                  • The SQL expression will not be displayed by default, but it can still be viewed by going to the note context menu and selecting Note source.
                  • diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Default Note Title.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Default Note Title.html index 05a4a570e..2bb827d7e 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Default Note Title.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Default Note Title.html @@ -18,7 +18,7 @@ note title.

                    For this use case, Trilium (since v0.52) supports #titleTemplate label. You can create such a label for a given note, assign it a value, + href="#root/_help_zEY4DaJG4YT5">label. You can create such a label for a given note, assign it a value, and this value will be used as a default title when creating child notes. As with other labels, you can make it inheritable to apply recursively, and you can even place it on the root note to have it applied globally @@ -43,8 +43,8 @@ creation as a JavaScript string, which means it can be enriched with the help of JS string interpolation with dynamic data.

                    Second variable injected is parentNote which gives access to - the parent FNote.

                    -

                    See also Templates which + the parent FNote.

                    +

                    See also Templates which provides similar capabilities, including default note's content.

                    Examples

                      diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Hidden Notes.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Hidden Notes.html index dcc25240f..3e72952d6 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Hidden Notes.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Hidden Notes.html @@ -20,19 +20,20 @@

                      For easy extensibility, a lot of features in Trilium make use of actual notes to store information as opposed to having them stored in a separate location in the database. This allows some functions such as AttributesRelations or - even Search and  - Links to be able to operate on them.

                      + href="#root/_help_zEY4DaJG4YT5">Attributes, Relations or even Search and Links to be able to operate on + them.

                      As the name suggests, these notes are hidden to the user by default to prevent cluttering the note tree and to prevent them from being accidentally deleted.

                      The hidden notes are stored in the user's Database just like normal notes, but they - have a unique Note ID which + href="#root/_help_wX4HbRucYSDD">Database just like normal notes, + but they have a unique Note ID which allows them to be distinguished from the normal ones.

                      Accessing the hidden note tree

                      -

                      From the Global menu, +

                      From the Global menu, select AdvancedShow Hidden Subtree.

                      Contents of the hidden note tree

                      Here is a brief summary of all the notes within the hidden tree:

                      @@ -51,51 +52,50 @@ - Note Map + Note Map -

                      This note is actually opened when the Note Map feature - that is accessed from the Launch Bar.

                      +

                      This note is actually opened when the Note Map feature + that is accessed from the Launch Bar.

                      It is possible to create any child notes in it without any additional meaning. For example, it can be used to store a list of note maps which - can be linked to from other notes or bookmarked.

                      + can be linked to from other notes or bookmarked.

                      - SQL Console History + SQL Console History

                      When SQL queries or commands are executed in the SQL Console, - they are stored here, grouped by month. Only the query is stored and not - the results.

                      + href="#root/_help_YKWqdJhzi2VY">SQL Console, they are stored here, + grouped by month. Only the query is stored and not the results.

                      This section can be accessed without going to the hidden tree by simply - going to the Global menu and + going to the Global menu and selecting Advanced → Open SQL Console History.

                      Notes can be added as children of this tree, but it's generally not recommended to do so to not interfere with the normal history process.

                      - Search History + Search History

                      Whenever a search is executed from the full Search, - the query will be stored here, grouped by month. Only the search parameters - are stored and not the results themselves.

                      + href="#root/_help_eIg8jdvaoNNd">Search, the query will be stored here, + grouped by month. Only the search parameters are stored and not the results + themselves.

                      This section can be accessed without going to the hidden tree by simply - going to the Global menu and + going to the Global menu and selecting Advanced → Open Search History.

                      Notes can be added as children of this tree, but it's generally not recommended to do so to not interfere with the normal history process.

                      - Bulk Action + Bulk Action -

                      This section is used for Bulk Actions. +

                      This section is used for Bulk Actions. The last configuration for bulk actions will be stored as part of this note, each action in its own action label.

                      Notes can be added as children of this tree, but there won't be any benefit @@ -103,80 +103,80 @@ - Backend Log + Backend Log

                      This note corresponds to the backend log feature (see Error logs).

                      + href="#root/_help_qzNzp9LYQyPT">Error logs).

                      This item can be accessed without going to the hidden try by going to - the Global menu and + the Global menu and selecting Advanced → Show backend log.

                      - User Hidden + User Hidden - This section can be used by scripts to create - their own notes that should not be directly visible to the user. The note - can be identified by scripts by its unique ID: _userHidden + This section can be used by scripts to + create their own notes that should not be directly visible to the user. + The note can be identified by scripts by its unique ID: _userHidden - Launch Bar Templates + Launch Bar Templates

                      This section contains the templates for the creation of launchers in the  Launch Bar. It is not possible to create child notes here.

                      + class="reference-link" href="#root/_help_xYmIYSP6wE3F">Launch Bar. It is not possible to create child notes here.

                      Theoretically some of the notes here can be customized, but there's not much benefit to be had in doing so.

                      - Shared Notes + Shared Notes -

                      This tree lists all of the notes that are shared publicly. +

                      This tree lists all of the notes that are shared publicly. It can be useful to track down which notes are shared regardless of their position in the note tree.

                      This section can be accessed without going to the hidden tree simply by - going to the Global menu and + going to the Global menu and selecting Show Shared Notes Subtree.

                      Sub-notes cannot be created here.

                      - Launch Bar + Launch Bar

                      The tree contains both available and displayed items of the Launch Bar.

                      + href="#root/_help_xYmIYSP6wE3F">Launch Bar.

                      This section can be accessed without going to the hidden tree by:

                        -
                      • Going to the Global menu and +
                      • Going to the Global menu and selecting Configure Launchbar.
                      • -
                      • Right-clicking an empty space on the Launch Bar and +
                      • Right-clicking an empty space on the Launch Bar and selecting Configure Launchbar.

                      Sub-notes cannot be created here.

                      - Options + Options -

                      This section stores the list of Options.

                      +

                      This section stores the list of Options.

                      This section can be accessed without going to the hidden tree by:

                        -
                      • Going to the Global menu and +
                      • Going to the Global menu and selecting Options.
                      • Pressing the dedicated Options icon in the Launch Bar.
                      • + href="#root/_help_xYmIYSP6wE3F">Launch Bar.
                      - Mobile Launch Bar + Mobile Launch Bar

                      This is very similar to the Launch Bar, but is dedicated for the @@ -186,7 +186,7 @@ - User Guide + User Guide This is where the note structure for the User Guide is actually stored. Only the metadata is stored, as the help itself is present as actual files diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Note ID.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Note ID.html index b3a926fea..7c980c19a 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Note ID.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Note ID.html @@ -22,7 +22,7 @@

                      When notes are exported, their note ID is kept in the metadata of the export. However when they are imported back in, a new note ID is generated for all the notes. This also includes other entities that are part of the - import/export process such as Attachments.

                      + import/export process such as Attachments.

                      Note collisions

                      Since the Note ID is a fixed-width randomly generated number, due to the Note Map, which shows the hierarchical tree structure.

                    Link Map

                    -

                    Shows relations between notes:

                    +

                    Shows relations between notes:

                    @@ -33,11 +33,11 @@

                    Dedicated note type

                    Apart from the note map feature which can be accessed from any note, it is also possible to create a dedicated note which will display the relations - in full screen. See Note Map for + in full screen. See Note Map for more information.

                    See also

                    -

                    Relation map is a similar - concept, with some differences:

                    +

                    Relation map is a similar concept, + with some differences:

                    • note map is automatically generated while relation map must be created manually
                    • diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Note source.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Note source.html index 493f48c2f..85c1bd410 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Note source.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Note source.html @@ -15,48 +15,47 @@

                      Understanding the source code of the different notes

                      Internally, the structure of the content of each note is different based - on the Note Types.

                      + on the Note Types.

                      For example:

                        -
                      • Text notes are +
                      • 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 + href="#root/_help_MI26XDLSAlCD">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 +
                      • Geo Map notes contain only minimal information (viewport, zoom) as a JSON.
                      • -
                      • Canvas notes +
                      • Canvas notes are represented as JSON, with Trilium's own information alongside with  Excalidraw's internal JSON representation format.
                      • -
                      • Mind Map notes + class="reference-link" href="#root/_help_H0mM1lTxF9JI">Excalidraw's internal JSON representation format.
                      • +
                      • Mind Map notes are represented as JSON, with the internal format of MindElixir.
                      • + href="#root/_help_N4IDkixaDG9C">MindElixir.

                      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.

                      + href="#root/_help_0vhv7lsOLy82">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).

                      <h2>
                       	Understanding the source code of the different notes
                       </h2>
                       <p>
                       	Internally, the structure of the content of each note is different based on the&nbsp;
                      -	<a class="reference-link" href="../Note%20Types.html">
                      +	<a class="reference-link" href="#root/_help_KSZ04uQ2D1St">
                       		Note Types
                       	</a>
                       	.
                       </p>

                      Viewing the source code

                      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/Advanced Usage/Sharing.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing.html index 3486a2104..9a1dc9135 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing.html @@ -18,8 +18,8 @@ from your Trilium notes, making it accessible to others online.

                      Prerequisites

                      To use the sharing feature, you must have a Server Installation of - Trilium. This is necessary because the notes will be hosted from the server.

                      + href="#root/_help_WOcw2SLH6tbX">Server Installation of Trilium. + This is necessary because the notes will be hosted from the server.

                      How to Share a Note

                      1. @@ -59,21 +59,21 @@

                        Password Protection

                        To protect shared notes with a username and password, you can use the #shareCredentials attribute. Add this label to the note with the format #shareCredentials="username:password". - To protect an entire subtree, make sure the label is inheritable.

                        + To protect an entire subtree, make sure the label is inheritable.

                        Advanced Sharing Options

                        Customizing the Appearance of Shared Notes

                        The default shared page is basic in design, but you can customize it using your own CSS:

                        • Custom CSS: Link a CSS Code note to the shared page - by adding a ~shareCss relation to the note. If you want this - style to apply to the entire subtree, make the label inheritable. You can - hide the CSS code note from the tree navigation by adding the #shareHiddenFromTree label.
                        • + href="#root/_help_6f9hih2hXXZk">Code note to the shared page by + adding a ~shareCss relation to the note. If you want this style + to apply to the entire subtree, make the label inheritable. You can hide + the CSS code note from the tree navigation by adding the #shareHiddenFromTree label.
                        • Omitting Default CSS: For extensive styling changes, use the #shareOmitDefaultCss label to avoid conflicts with Trilium's default stylesheet.
                        • + href="#root/_help_Wy267RK4M69c">default stylesheet.

                        Adding JavaScript

                        You can inject custom JavaScript into the shared note using the ~shareJs relation. @@ -175,7 +175,7 @@ for (const attr of parentNote.attributes) { Note will be served in its raw format, without HTML wrapper. See also  Serving directly the content of a note for an alternative method + class="reference-link" href="#root/_help_Qjt68inQ2bRj">Serving directly the content of a note for an alternative method without setting an attribute. diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used.html index 6c582ad34..4b8226d47 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used.html @@ -15,7 +15,7 @@

                        One core aspect of Trilium that allows it to have support for multiple  Note Types is the fact that it makes use of various off-the-shelf + href="#root/_help_KSZ04uQ2D1St">Note Types is the fact that it makes use of various off-the-shelf or reusable libraries.

                        The sub-pages showcase some of the technologies used, for a better understanding of how Trilium works but also to credit the developers of that particular diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/CKEditor.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/CKEditor.html index 5415ff3ae..10b249a16 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/CKEditor.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/CKEditor.html @@ -15,7 +15,7 @@

                        Editor core

                        The CKEditor is the WYSIWYG (standing for What You See Is What You Get) - editor behind Text notes.

                        + editor behind Text notes.

                        Their website is ckeditor.com.

                        CKEditor by itself is a commercial product, but the core is open-source. As described in its documentation, diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/Excalidraw.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/Excalidraw.html index cf06c53a5..f416dcb34 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/Excalidraw.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/Excalidraw.html @@ -14,8 +14,8 @@

                        Excalidraw is the technology behind - the Canvas notes. - The source code of the library is available on GitHub.

                        + the Canvas notes. The + source code of the library is available on GitHub.

                        We are using an unmodified version of it, so it shares the same issues as the original.

                        diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/Leaflet.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/Leaflet.html index ee1258c1d..3d8fe8bac 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/Leaflet.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/Leaflet.html @@ -13,7 +13,7 @@

                        Leaflet

                        -

                        Leaflet is the library behind Geo map notes.

                        +

                        Leaflet is the library behind Geo map notes.

                        Plugins

                        Leaflet is also highly customizable via external plugins.

                        Currently we use:

                        diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/MindElixir.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/MindElixir.html index b11d97c6c..d3281f871 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/MindElixir.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/MindElixir.html @@ -13,7 +13,7 @@

                        MindElixir

                        -

                        MindElixir is the library we are using for the Mind Map note +

                        MindElixir is the library we are using for the Mind Map note types.

                        The main library is available on GitHub as mind-elixir-core.

                        The library is embedded as-is without additional modifications.

                        diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Templates.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Templates.html index 49062292e..cc29ee7b2 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Templates.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Templates.html @@ -18,10 +18,10 @@ main effects:

                        1. Attribute Inheritance: All attributes from the template - note are inherited by - the instance notes. Even attributes with #isInheritable=false are - inherited by the instance notes, although only inheritable attributes are - further inherited by the children of the instance notes.
                        2. + note are inherited by the instance + notes. Even attributes with #isInheritable=false are inherited + by the instance notes, although only inheritable attributes are further + inherited by the children of the instance notes.
                        3. Content Duplication: The content of the template note is copied to the instance note, provided the instance note is empty at the time of template assignment.
                        4. @@ -32,7 +32,7 @@

                          A typical example would be a "Book" template note, which might include:

                          • Promoted Attributes: Such as publication year, author, - etc. (see promoted attributes).
                          • + etc. (see promoted attributes).
                          • Outline: An outline for a book review, including sections like themes, conclusion, etc.
                          • Child Notes: Additional notes for highlights, summary, @@ -51,7 +51,7 @@

                            For the template to appear in the menu, the template note must have the #template label. Do not confuse this with the ~template relation, which links - the instance note to the template note. If you use workspaces, + the instance note to the template note. If you use workspaces, you can also mark templates with #workspaceTemplate to display them only in the workspace.

                            Templates can also be added or changed after note creation by creating @@ -60,11 +60,11 @@

                            From a visual perspective, templates can define #iconClass and #cssClass attributes, allowing all instance notes (e.g., books) to display a specific icon and CSS style.

                            -

                            Explore the concept further in the demo notes, - including examples like the Relation Map, +

                            Explore the concept further in the demo notes, + including examples like the Relation Map, Task Manager, and Day Notes.

                            -

                            Additionally, see default note title for + href="#root/_help_xYjQUYhpbUEW">Task Manager, and Day Notes.

                            +

                            Additionally, see default note title for creating title templates. Note templates and title templates can be combined by creating a #titleTemplate for a template note.

                        diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Markdown.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Markdown.html index 22d071fdf..4d635ebe0 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Markdown.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Markdown.html @@ -66,7 +66,7 @@
                      2. Tables are supported with the Markdown syntax. If the table is too complex or contains elements that would render as HTML, the table is also rendered as HTML.
                      3. -
                      4. Admonitions are +
                      5. Admonitions are supported using GitHub's format.
                      6. Links are supported. “Reference links” (internal links that mirror a note's title and display its icon) are embedded as HTML in order to preserve the diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.html index 0a05c3540..ef62868b3 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.html @@ -28,7 +28,7 @@
                      7. , - collapse/expand node
                      8. Alt + , Alt + - go back / forwards in the history
                      9. -
                      10. Ctrl + J - show "Jump to" dialog +
                      11. Ctrl + J - show "Jump to" dialog
                      12. Ctrl + . - scroll to current note (useful when you scroll away from your note or your focus is currently in the editor)
                      13. @@ -36,13 +36,13 @@
                      14. Alt + C - collapse whole note tree
                      15. Alt + - (alt with minus sign) - collapse subtree (if some subtree takes too much space on tree pane you can collapse it)
                      16. -
                      17. you can define a label #keyboardShortcut with +
                      18. you can define a label #keyboardShortcut with e.g. value Ctrl + I . Pressing this keyboard combination will then bring you to the note on which it is defined. Note that Trilium must be reloaded/restarted (Ctrl + R ) for changes to be in effect.
                    -

                    See demo of some of these features in note navigation.

                    +

                    See demo of some of these features in note navigation.

                    Tabs

                    • Ctrl + 🖱 Left click - (or middle mouse click) on note @@ -59,8 +59,8 @@
                      • CTRL+O - creates new note after the current note
                      • CTRL+P - creates new sub-note into current note
                      • -
                      • F2 - edit prefix of - current note clone
                      • +
                      • F2 - edit prefix of current + note clone

                      Moving / cloning notes

                        @@ -75,7 +75,7 @@
                      • Shift+🖱 Left click - multi select note which you clicked on
                      • Ctrl+C - copies current note (or current selection) - into clipboard (used for cloning + into clipboard (used for cloning
                      • Ctrl+X - cuts current (or current selection) note into clipboard (used for moving notes)
                      • @@ -85,8 +85,8 @@
                      • Del - delete note / sub-tree

                      Editing notes

                      -

                      Trilium uses CKEditor 5 for the text notes and - CodeMirror 5 for code notes. Check +

                      Trilium uses CKEditor 5 for the text notes and + CodeMirror 5 for code notes. Check the documentation of these projects to see all their built-in keyboard shortcuts.

                        @@ -97,9 +97,9 @@
                      • Enter in tree pane switches from tree pane into note title. Enter from note title switches focus to text editor. Ctrl+. switches back from editor to tree pane.
                      • -
                      • Ctrl+K - create / edit external link +
                      • Ctrl+K - create / edit external link
                      • -
                      • Ctrl+L - create internal (note) link +
                      • Ctrl+L - create internal (note) link
                      • Alt+T - inserts current date and time at caret position
                      • Ctrl+. - jump away from the editor to tree pane and @@ -122,9 +122,9 @@
                      • Alt+M - distraction-free mode - display only note editor, everything else is hidden
                      • F11 - toggle full screen
                      • -
                      • Ctrl + S - toggle search form +
                      • Ctrl + S - toggle search form in tree pane
                      • -
                      • Alt +A - show note attributes dialog
                      • +
                      • Alt +A - show note attributes dialog
    diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Jump to Note.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Jump to Note.html index 48eaaa916..af72ea565 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Jump to Note.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Jump to Note.html @@ -22,7 +22,7 @@ a full search or create notes.

    Entering jump to note

      -
    • In the Launch Bar, +
    • In the Launch Bar, press button.
    • Using the keyboard, press Ctrl + J.
    • diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Hoisting.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Hoisting.html index cad1ec4a3..96f254b8b 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Hoisting.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Hoisting.html @@ -20,9 +20,10 @@

      In addition to showing only this subtree, this also narrows both full - text search and “jump to note” to just - notes present in hoisted subtree.

      -

      See also Workspace which extends this feature.

      + text search and “jump to note” to + just notes present in hoisted subtree.

      +

      See also Workspace which extends + this feature.

    diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Navigation.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Navigation.html index d7755002e..4c2d1f72e 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Navigation.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Navigation.html @@ -27,7 +27,7 @@

    This is useful to quickly find and view arbitrary notes - click on Jump to button on the top or press Ctrl + J . Then type part of the note name and autocomplete will help you pick the desired note.

    -

    See Jump to Note for +

    See Jump to Note for more information.

    diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Quick search.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Quick search.html index 143daa0e7..02ac325dd 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Quick search.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Quick search.html @@ -21,20 +21,20 @@ searches through the content of notes and not just the title of a note) and displays the result in an easy-to-access manner.

    The alternative to the quick search is the Search function, which opens in a dedicated - tab and has support for advanced queries.

    + href="#root/_help_eIg8jdvaoNNd">Search function, which opens in + a dedicated tab and has support for advanced queries.

    For even faster navigation, it's possible to use Jump to Note which will only search + href="#root/_help_F1r9QtzQLZqm">Jump to Note which will only search through the note titles instead of the content.

    Layout

    -

    Based on the Vertical and horizontal layout, +

    Based on the Vertical and horizontal layout, the quick search is placed:

    • On the vertical layout, it is displayed right above the Note Tree.
    • + href="#root/_help_oPVyFC7WL2Lp">Note Tree.
    • On the horizontal layout, it is displayed in the Launch Bar, where it can - be positioned just like any other icon.
    • + href="#root/_help_xYmIYSP6wE3F">Launch Bar, where it can be positioned + just like any other icon.
    diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search.html index 81c7e98e7..b0cfa115d 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search.html @@ -20,12 +20,12 @@ In the desktop (electron) version, a separate dialog will apear.

    Note Search

    Note search enables you to find notes by searching for text in the title, - content, or attributes of - the notes. You also have the option to save your searches, which will create - a special search note which is visible on your navigation tree and contains - the search results as sub-items.

    + content, or attributes of the notes. + You also have the option to save your searches, which will create a special + search note which is visible on your navigation tree and contains the search + results as sub-items.

    To search for notes, click on the magnifying glass icon on the toolbar - or press the Ctrl + S keyboard shortcut.

    + or press the Ctrl + S keyboard shortcut.

    Simple Note Search Examples

    • rings tolkien: Full-text search to find notes containing diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Similar Notes.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Similar Notes.html index 1ebb12eea..42f4f5033 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Similar Notes.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Similar Notes.html @@ -21,7 +21,7 @@ note by looking at the content of the notes, their relationships, as well as the date they were created.

      To access the list of similar notes, press the “Similar Notes” tab in - the Ribbon.

      + the Ribbon.

      Interaction

      • Hover over a note to see a short preview of the note.
      • diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Tree Concepts.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Tree Concepts.html index a7c2886a3..0e87256b5 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Tree Concepts.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Tree Concepts.html @@ -16,7 +16,7 @@

        This page explains the basic concepts related to the tree structure of notes in TriliumNext.

        Note

        -

        A note is the central entity in TriliumNext. For more details, see Note.

        +

        A note is the central entity in TriliumNext. For more details, see Note.

        Branch

        A branch describes the placement of a note within the note tree. Essentially, it is a tuple of parentNoteId and noteId, indicating @@ -24,7 +24,7 @@

        Each note can have multiple branches, meaning any note can be placed in multiple locations within the tree. This concept is referred to as " cloning."

        + href="#root/_help_IakOLONlIfGI">cloning."

        Prefix

        A prefix is a branch-specific title modifier for a note. If you place your note in two different locations within the tree and want to alter diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces.html index ba02c1a86..4dd0e9316 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces.html @@ -13,7 +13,7 @@

        Workspaces

        -

        Workspace is a concept built up on top of note hoisting. +

        Workspace is a concept built up on top of note hoisting. It is based on the idea that a user has several distinct spheres of interest. An example might be "Personal" and "Work", these two spheres are quite distinct and don't interact together. When I focus on Work, I don't really @@ -21,7 +21,7 @@

        So far workspace consists of these features:

        • -

          note hoisting - you can "zoom" into +

          note hoisting - you can "zoom" into a workspace subtree to focus only on the relevant notes

        • @@ -69,7 +69,7 @@ workspaceCalendarRoot Marking a note with this label will define a new per-workspace calendar - for Day Notes. + for Day Notes. If there's no such note, the global calendar will be used. 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 30bbda0d1..120195603 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 @@ -17,14 +17,14 @@ and content.

          Note types

          The main note type is a rich-text note type called Text. For diagrams and drawing there - is Canvas and  + href="#root/_help_iPIMuisry3hd">Text. For diagrams and drawing there + is Canvas and  Mermaid Diagrams.

          + class="reference-link" href="#root/_help_s1aBHPd79XYj">Mermaid Diagrams.

          There are also more complex note types such as Saved SearchRender Note that usually - go hand-in-hand with Scripting.

          + href="#root/_help_m523cpzocqaD">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.

          Root note

          @@ -32,7 +32,7 @@ tree. All other notes are placed below it in the structure.

          Tree structure

          Importantly, note itself doesn't carry information on its placement in - note tree. See Cloning Notes for + 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 @@ -43,7 +43,7 @@ (soft-delete) - the actual content, title, attributes etc. are not deleted, only hidden.

          Within (by default) 7 days, it is possible to undelete these soft-deleted - notes - open the Recent Changes dialog, + notes - open the Recent Changes dialog, and you will see a list of all modified notes including the deleted ones. Notes available for undeletion have a link to do so. This is kind of "trash can" functionality known from e.g. Windows.

          @@ -57,10 +57,10 @@

          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).

          + href="#root/_help_ODY7qQn5m2FT">Backup).

          See also

        diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Archived Notes.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Archived Notes.html index a17d35816..e8a34d6ea 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Archived Notes.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Archived Notes.html @@ -13,10 +13,10 @@

        Archived Notes

        -

        Archived notes are notes which have archived attribute - - either directly or inherited.

        +

        Archived notes are notes which have archived attribute - + either directly or inherited.

        Such notes are then by default not shown in the autocomplete and in the - full text search.

        + full text search.

        This can be useful for notes which are no longer very useful but still valuable enough to keep around without them getting too much in the way.

        You can control whether archived notes are displayed in the note tree diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Attachments.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Attachments.html index 59de51c1c..277fd6326 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Attachments.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Attachments.html @@ -13,11 +13,11 @@

        Attachments

        -

        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. - The Weight Tracker shows +

        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. + The Weight Tracker shows how to use chartjs which is attached to the script note.

        Each note exclusively owns its attachments, meaning attachments cannot @@ -29,19 +29,19 @@ text of the owning note; otherwise, they will be automatically deleted after a configurable timeout period if not referenced.

        Converting notes to attachments

        -

        File notes +

        File notes can be easily converted to attachments of the parent note.

        To do so:

        • For a single note, press the context menu from the Note buttons and select Convert into attachment.
        • + href="#root/_help_8YBEPzcpUgxw">Note buttons and select Convert into attachment.
        • For multiple notes, select the given notes in the Note Tree, right click → Advanced - → Convert to attachment.
        • + href="#root/_help_oPVyFC7WL2Lp">Note Tree, right click → Advanced → + Convert to attachment.

        Attachment previews

        Attachments share the same content preview for images, videos, PDFs, etc. - as the File note + as the File note type.

        diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Cloning Notes.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Cloning Notes.html index 2b8735e20..7df321b92 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Cloning Notes.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Cloning Notes.html @@ -98,7 +98,7 @@

        In the demo, you can see how a clone can be created using the context menu. It's possible to do this also using the Add Link dialog or with Ctrl+C and Ctrl+V keyboard shortcuts.

        + href="#root/_help_A9Oc6YKKc65v">keyboard shortcuts.

        As seen in the demo, you can view the list of all available clones in the "Note Paths" tab in the Ribbon toolbar.

        Titles of cloned notes in the tree view have an asterisk to the right diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Cloning Notes/Branch prefix.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Cloning Notes/Branch prefix.html index 34ec03533..9b67e3486 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Cloning Notes/Branch prefix.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Cloning Notes/Branch prefix.html @@ -14,10 +14,10 @@

        Since a single note can appear into multiple places in the Note Tree via a process - called Cloning Notes, - it's recommended to choose a generalized name that fits into all locations - instead of something more specific to avoid confusion.

        + href="#root/_help_oPVyFC7WL2Lp">Note Tree via a process called  + Cloning Notes, it's recommended to choose a generalized name that + fits into all locations instead of something more specific to avoid confusion.

        In some cases this isn't possible so Trilium provides "branch prefixes", which is shown before the note name in the tree and as such provides a specific kind of context.

        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 41632d37b..fc4d9eb4b 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="#root/_help_wy8So3yZZlH9">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.

        @@ -45,7 +45,7 @@

        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).

        + to it (see Attributes).

        Page size

        By default, the resulting PDF will be in Letter format. It is possible to adjust it to another page size via the #printPageSize attribute, @@ -53,8 +53,8 @@

        Keyboard shortcut

        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.

        + href="#root/_help_4TIF1oA4VQRO">Options and assigning a key combination + for the exportAsPdf action.

        diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List.html index 84d567f21..922ba55c5 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List.html @@ -19,7 +19,7 @@
        • To hide the note list for a particular note, simply apply the hideChildrenOverview label.
        • + href="#root/_help_zEY4DaJG4YT5">label.
        • For some view types, such as Grid view, only a subset of notes will be displayed and pagination can be used to navigate through all of them for performance reasons. To adjust the number of notes per page, set pageSize to @@ -30,10 +30,9 @@ some other view types available.

          Grid view

          @@ -43,11 +42,11 @@

          This view presents the child notes in a grid format, allowing for a more visual navigation experience.

            -
          • For Text notes, +
          • For Text notes, the text can be slighly scrollable via the mouse wheel to reveal more context.
          • -
          • For Code notes, +
          • For Code notes, syntax highlighting is applied.
          • -
          • For File notes, +
          • For File notes, a preview is made available for audio, video and PDF notes.
          • If the note does not have a content, a list of its child notes will be displayed instead.
          • @@ -70,8 +69,7 @@

            In the calendar view, child notes are represented as events, with a start date and optionally an end date. The view also has interaction support such as moving or creating new events. See Calendar View for more - information.

            + href="#root/_help_xWbu3jpNWapp">Calendar View for more information.

            diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Revisions.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Revisions.html index ba2a49c18..5d3252d03 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Revisions.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Revisions.html @@ -21,7 +21,7 @@ data to store.

            To turn off note versioning for a particular note (or subtree), add disableVersioning labelto the note.

            + href="#root/_help_zEY4DaJG4YT5">labelto 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 diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Protected Notes.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Protected Notes.html index 0a677f5f4..0e7c9eae7 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Protected Notes.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Protected Notes.html @@ -21,8 +21,8 @@

          • Encryption: Protected notes are encrypted using a key derived from your password. This ensures that without the correct password, protected notes remain indecipherable. Even if someone gains access to - your Trilium database, - they won't be able to read your encrypted notes.
          • + your Trilium database, they won't + be able to read your encrypted notes.
          • Time-limited access: To access protected notes, you must first enter your password, which decrypts the note for reading and writing. However, after a specified period of inactivity (10 minutes by default), @@ -63,7 +63,7 @@
            • Note structure (i.e., it remains visible that there are protected notes)
            • Metadata, such as the last modified date
            • -
            • Attributes +
            • Attributes

            Encryption Details

            @@ -84,7 +84,7 @@
            • The data encryption key is encrypted using AES-128 with a random IV.
            • -
            • The data encryption key is randomly generated during the database initialization +
            • The data encryption key is randomly generated during the database initialization and remains constant throughout the document’s lifetime. When the password is changed, only this key is re-encrypted.
            diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Read-Only Notes.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Read-Only Notes.html index 4fed7df74..8a322b034 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Read-Only Notes.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Read-Only Notes.html @@ -13,9 +13,9 @@

            Read-Only Notes

            -

            Some note types such as Text and  +

            Some note types such as Text and  Code notes in Trilium can be set to read-only. When a note is + class="reference-link" href="#root/_help_6f9hih2hXXZk">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

            @@ -26,12 +26,12 @@ 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 by going to the options - for Text Notes and  + href="#root/_help_4TIF1oA4VQRO">Options by going to the options + for Text Notes and  Code Notes.

            + class="reference-link" href="#root/_hidden/_options/_help__optionsCodeNotes">Code Notes.

            Changing a note's read-only behavior

            -

            Via the Ribbon, +

            Via the Ribbon, by going to the Basic Properties tab and looking for the Editable selection. The following options are possible:

              @@ -50,8 +50,7 @@ type does not support read-only mode.

              Manually setting the options

              Apart from using the ribbon as previously mentioned, it's also possible - to use labels to change - the behavior:

              + to use labels to change the behavior:

              • To set as read-only, apply the readOnly label to the note.
              • To disable automatic read-only (always editable), apply the autoReadOnlyDisabled label.
              • @@ -59,17 +58,17 @@

                Temporarily editing a read-only note

                When accessing a read-only note, it's possible to temporarily edit it by using the - button in the Floating buttons area.

                + button in the Floating buttons area.

                When pressed, the note will become editable but will become read-only again after navigating to a different note.

                Special read-only behavior

                Some note types have a special behavior based on whether the read-only mode is enabled:

            diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Sorting Notes.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Sorting Notes.html index 97c9026ee..274ac59cc 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Sorting Notes.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Sorting Notes.html @@ -15,9 +15,9 @@

            Manual sorting

            You can sort notes by right-clicking the parent note in the Note Tree and selecting - Advanced -> Sort notes by ... This will sort existing notes, but will - not automatically sort future notes added to this parent note.

            + href="#root/_help_oPVyFC7WL2Lp">Note Tree and selecting Advanced + -> Sort notes by ... This will sort existing notes, but will not automatically + sort future notes added to this parent note.

            The sorting dialog allows:

            • Sorting by title, creation or modification date.
            • @@ -26,7 +26,7 @@
            • Natural sort, based on the sorting rules of a particular language.

            Automatic/Permanent Sorting

            -

            Child notes can be automatically sorted by attaching specific labels to +

            Child notes can be automatically sorted by attaching specific labels to the parent note:

            • #sorted: Enables sorting. Can optionally include the name diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Themes.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Themes.html index 6c2e5a0f9..456d44b5a 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Themes.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Themes.html @@ -25,9 +25,9 @@

              Trilium supports custom user themes, allowing you to personalize the application's appearance. To create a custom theme, follow these steps:

                -
              1. Create a CSS Code Note: Start by creating a new code note with +
              2. Create a CSS Code Note: Start by creating a new code note with the CSS type.
              3. -
              4. Annotate with #appTheme: Add the attribute #appTheme=my-theme-name to +
              5. Annotate with #appTheme: Add the attribute #appTheme=my-theme-name to your note, where my-theme-name is the name of your custom theme.
              6. Define Your Styles: Write your custom CSS within the note. Below is an example of a custom theme:
              7. @@ -89,7 +89,7 @@ body .CodeMirror {
                1. Go to "Menu" -> "Options" -> "Appearance."
                2. In the theme selection dropdown, you should see your custom theme listed - under the name you provided with the #appTheme label.
                3. + under the name you provided with the #appTheme label.
                4. Select your custom theme to activate it.

                If you make changes to your theme, press Ctrl + R to @@ -112,9 +112,9 @@ body .CodeMirror {

                To use custom CSS:

                1. Create a CSS Code Note: Create a new Code note with the CSS type.
                2. + href="#root/_help_6f9hih2hXXZk">Code note with the CSS type.
                3. Add the appCss Label: Annotate - the note with the #appCss label.
                4. + the note with the #appCss label.
                5. Write Your CSS: Add your custom CSS rules to the note.

                For example:

                /* Custom CSS to style specific elements */
                @@ -132,7 +132,7 @@ body .CodeMirror {
                         

                To apply specific styles to certain notes in the tree:

                • Use the cssClass Attribute: - Add the cssClass attribute to + Add the cssClass attribute to a note, and assign it a value representing the desired CSS class.
                • Define an iconClass: You can also define a custom icon for a note using the iconClass attribute, selecting @@ -143,7 +143,7 @@ body .CodeMirror {

                  User-Provided Themes

                  A gallery of user-created themes is available, showcasing the variety of customizations that the Trilium community has developed. For more information, - check the Theme Gallery.

                  + check the Theme Gallery.

                  Asset Path Management

                  When referencing built-in assets like images in your custom themes or CSS, you can avoid hardcoding version numbers by using the vX alias. diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Floating buttons.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Floating buttons.html index d65c8486a..71c0ca462 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Floating buttons.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Floating buttons.html @@ -18,18 +18,18 @@ height="144">

          Depending on the current note, a panel will appear near the top-right - of the note, right underneath the Ribbon. + of the note, right underneath the Ribbon. These buttons offer additional interaction that is specific to that particular note.

          For example:

            -
          • For Mermaid Diagrams and  +
          • For Mermaid Diagrams and  Canvas, there are buttons to download the SVG representation of the + class="reference-link" href="#root/_help_grjYqerjn243">Canvas, there are buttons to download the SVG representation of the note, or to copy a reference to the note for pasting it a Text note.
          • -
          • For read-only notes, there - is a button to temporarily edit the note for quick modifications.
          • + href="#root/_help_iPIMuisry3hd">Text note. +
          • For read-only notes, there is a + button to temporarily edit the note for quick modifications.

          Interaction

          The floating button area can be collapsed by pressing the two right arrows diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Global menu.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Global menu.html index 49c0e7b47..b63aae59a 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Global menu.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Global menu.html @@ -19,7 +19,7 @@

          Accessing the global menu

          -

          See Vertical and horizontal layout since +

          See Vertical and horizontal layout since the position of the global menu is changed based on which layout has been selected.

          diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Launch Bar.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Launch Bar.html index 69b0c6224..37137327f 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Launch Bar.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Launch Bar.html @@ -16,7 +16,7 @@

          Position of the Launch bar

          Depending on the layout selected, the launcher bar will either be on the left side of the screen with buttons displayed vertically or at the top - of the screen. See Vertical and horizontal layout for + of the screen. See Vertical and horizontal layout for more information.

          Terminology

            @@ -33,10 +33,10 @@
          • Right click in the empty space between launchers on the launch bar and select Configure Launchbar.
          • -
          • Click on the Global menu and +
          • Click on the Global menu and select Configure Launchbar.
          -

          This will open a new tab with the Note Tree listing +

          This will open a new tab with the Note Tree listing the launchers.

          @@ -51,13 +51,13 @@

          Similarly, to remove it from the launch bar, simply look for it in Visible Launchers then right click it and select Move to available launchers or use drag-and-drop.

          Drag-and-drop the items in the tree in order to change their - order. See Note Tree for more - interaction options, including using keyboard shortcuts.

          + order. See Note Tree for + more interaction options, including using keyboard shortcuts.

          Customizing the launcher

          • The icon of a launcher can be changed just like a normal note. See  Note Icons for more information.
          • + href="#root/_help_p9kXRFAkwN4o">Note Icons for more information.
          • The title of the launcher can also be changed.

          Resetting

          @@ -76,7 +76,7 @@
        • Set the target promoted attribute to the note to navigate to.
        • Optionally, set hoistedNote to hoist a particular note. See  Note Hoisting for more information.
        • + href="#root/_help_OR8WJ7Iz9K4U">Note Hoisting for more information.
        • Optionally, set a keyboardShortcut to trigger the launcher.
        • @@ -84,7 +84,7 @@

          Script Launcher
          An advanced launcher which will run a script upon pressing. See  Scripts for more information.

          + href="#root/_help_CdNpE2pqjmI6">Scripts for more information.

          1. Set script to point to the desired script to run.
          2. Optionally, set a keyboardShortcut to trigger the launcher.
          3. @@ -95,7 +95,7 @@

            Allows defining a custom widget to be rendered inside the launcher. See  Widget Basics for more information.

            + href="#root/_help_SynTBQiBsdYJ">Widget Basics for more information.

          4. Spacers @@ -103,7 +103,7 @@ visual distinction.

          -

          Launchers are configured via predefined Promoted Attributes.

          +

          Launchers are configured via predefined Promoted Attributes.

          diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree.html index 26cacc0de..723dabd75 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree.html @@ -28,7 +28,7 @@

          Example of using keyboard keys to move a noteTrilium offers efficient keyboard-based manipulation using the following shortcuts:

          + href="#root/_help_A9Oc6YKKc65v">shortcuts:

          • Ctrl + and Ctrl +: Move the note up or down in the order.
          • @@ -42,10 +42,10 @@

          Context Menu

          You can also move notes using the familiar cut and paste functions available - in the context menu, or with the associated keyboard shortcuts: CTRL-C ( + in the context menu, or with the associated keyboard shortcuts: CTRL-C ( copy), Ctrl + X (cut) and Ctrl + V (paste).

          -

          See Note Tree Menu for + href="#root/_help_IakOLONlIfGI">copy), Ctrl + X (cut) and Ctrl + V (paste).

          +

          See Note Tree Menu for more information.

          diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Multiple selection.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Multiple selection.html index 9fc40be16..5389d65d6 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Multiple selection.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Multiple selection.html @@ -22,7 +22,7 @@

          In the right-click menu, operations such as Cut, Copy, Move to, Clone to or Delete will apply to all the selected notes. It is also possible - to apply Bulk Actions to + to apply Bulk Actions to them. The rest of the options will not be available and will appear disabled in the menu.

          diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Note tree contextual menu.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Note tree contextual menu.html index c85c18882..664642ec3 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Note tree contextual menu.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Note tree contextual menu.html @@ -19,14 +19,14 @@

          The note tree menu can be accessed by right-clicking in the  Note Tree.

          + class="reference-link" href="#root/_help_oPVyFC7WL2Lp">Note Tree.

          Interaction

          The contextual menu can operate:

          • On a single note, by right clicking it in the note tree.
          • On multiple notes, by selecting them first. See Multiple selection on how to - do so. + href="#root/_help_yTjUdsOi4CIE">Multiple selection on how to do + so.
            • When right clicking, do note that usually the note being right clicked is also included in the affected notes, regardless of whether it was selected @@ -42,7 +42,7 @@
              • Open in a new tab
                  -
                • Will open a single note in a new tab.
                • +
                • Will open a single note in a new tab.
              • Open in a new split @@ -54,14 +54,13 @@
              • Hoist note
                • Will focus the note tree on this note. See Note Hoisting for - more information.
                • + href="#root/_help_OR8WJ7Iz9K4U">Note Hoisting for more information.
              • Insert note after
                  -
                • Allows easy creation of a note with a specified note type.
                • -
                • Templates will +
                • Allows easy creation of a note with a specified note type.
                • +
                • Templates will also be present (if any) at the end of the list.
                • The note will be added on the same level of hierarchy as the note selected.
                @@ -76,7 +75,7 @@
                • Will mark this note and all of its descendents as protected. See  Protected Notes for more information.
                • + class="reference-link" href="#root/_help_bwg0e8ewQMak">Protected Notes for more information.
              • Unprotect subtree @@ -97,9 +96,9 @@
              • Use one of the two paste functions (or the keyboard shortcuts) to copy them to the desired location.
              • Note that the copy function here works according to the Cloning Notes functionality - (i.e. the note itself will be present in two locations at once, and editing - it in one place will edit it everywhere).
              • + href="#root/_help_IakOLONlIfGI">Cloning Notes functionality (i.e. + the note itself will be present in two locations at once, and editing it + in one place will edit it everywhere).
              • To simply create a duplicate note that can be modified independently, look for Duplicate subtree.
              @@ -123,7 +122,7 @@
            • Clone to…
                -
              • Will display a modal to specify where to clone the +
              • Will display a modal to specify where to clone the desired notes.
            • @@ -134,28 +133,28 @@
              • Delete also all clones to ensure that the note will be deleted everywhere if it has been placed into multiple locations (see Cloning Notes).
              • + href="#root/_help_IakOLONlIfGI">Cloning Notes).
              • Erase notes permanently will ensure that the note cannot be recovered - from Recent Changes.
              • + from Recent Changes.
          • Import into note
              -
            • Opens the import dialog and places +
            • Opens the import dialog and places the imported notes as child notes of the selected one.
          • Export
              -
            • Opens the export dialog for the - selected notes.
            • +
            • Opens the export dialog for the selected + notes.
          • Search in subtree
              -
            • Opens a full Search with +
            • Opens a full Search with it preconfigured to only look into this note and its descendants (the Ancestor field).
          • @@ -172,39 +171,39 @@
            • Apply bulk actions
            • Edit branch prefix
                -
              • Opens a dialog to assign a name to be able to distinguish clones, - see Branch prefix for +
              • Opens a dialog to assign a name to be able to distinguish clones, + see Branch prefix for more information.
            • Convert to attachment
                -
              • Converts the selected notes to Attachments of +
              • Converts the selected notes to Attachments of their parent notes.
              • This functional is most useful when dealing with image File notes that were imported + href="#root/_help_W8vYD3Q1zjCR">File notes that were imported from an external source or an older version of Trilium.
            • Duplicate subtree
              • Creates a copy of the note and its descendants.
              • -
              • This process is different from Cloning Notes since +
              • This process is different from Cloning Notes since the duplicated note can be edited independently from the original.
              • An alternative to this, if done regularly, would be Templates.
              • + href="#root/_help_KC1HB96bqqHX">Templates.
            • Expand subtree
                -
              • Expands all the child notes in the Note Tree.
              • +
              • Expands all the child notes in the Note Tree.
            • Collapse subtree @@ -216,8 +215,8 @@
              • Opens a dialog to sort all the child notes of the selected note.
              • The sorting is done only once, there is an automatic sorting mechanism - as well that can be set using Attributes.
              • -
              • See Sorting Notes for + as well that can be set using Attributes.
              • +
              • See Sorting Notes for more information.
            • @@ -225,13 +224,13 @@
              • Copies a URL fragment representing the full path to this branch for a note, such as #root/Hb2E70L7HPuf/4sRFgMZhYFts/2IVuShedRJ3U/LJVMvKXOFv7n.
              • -
              • The URL to manually create Links within - notes, or for note Navigation.
              • +
              • The URL to manually create Links within + notes, or for note Navigation.
            • Recent changes in subtree
                -
              • This will open Recent Changes, +
              • This will open Recent Changes, but filtered to only the changes related to this note or one of its descendants.
            • diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note buttons.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note buttons.html index 82f114fd0..50fcabfca 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note buttons.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note buttons.html @@ -13,17 +13,17 @@

              Note buttons

              -

              To the right of the Ribbon there are - a few more buttons: +

              To the right of the Ribbon there + are a few more buttons:

                -
              • The Note Revisions button displays the Note Revisions for +
              • The Note Revisions button displays the Note Revisions for that particular note.
              • The contextual menu offers commands for the note or its subtree, such - as import, export, viewing the Note source code or  + as import, export, viewing the Note source code or  Attachments.
              • + href="#root/_help_0vhv7lsOLy82">Attachments.
              diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Options.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Options.html index 2641768b3..f68e0375d 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Options.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Options.html @@ -22,21 +22,22 @@

              Entering options

              The Options can be accessed via:

                -
              • The Global menu, by selecting the Options item.
              • +
              • The Global menu, by selecting + the Options item.
              • The - button in the Launch Bar which + button in the Launch Bar which can optionally be hidden if not desirable.
              • Optionally, a keyboard shortcut can be defined, but it is not assigned by default.
              • -
              • By clicking on this link: Options.
              • +
              • By clicking on this link: Options.

              Once in the options section, simply select one of the option categories - using the Note Tree.

              + using the Note Tree.

              Exiting options

              -

              When entering the options, they are opened in a new tab. +

              When entering the options, they are opened in a new tab. To close them, simply close the tab.

              Options when using sync

              -

              When using Synchronization, +

              When using Synchronization, some of the options will be kept in sync across all the devices while others can be changed independently.

              Generally, the options that relate to appearance are intentionally kept diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Recent Changes.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Recent Changes.html index 57ebfed8d..cc127eb88 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Recent Changes.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Recent Changes.html @@ -22,16 +22,16 @@

              • For an overview of the changes across all documents, press the button in the Launch Bar. + width="25" height="21">button in the Launch Bar.
                  -
                • If there is a hoisted note or - a workspace, the list of recent - changes will be limited to the descendents of the hoisted note, or the - workspace.
                • +
                • If there is a hoisted note or a + workspace, the list of recent changes will be limited to the descendents + of the hoisted note, or the workspace.
              • To limit the list of recent changes to a note and its descendants, look - for the corresponding option in the Note tree contextual menu → + for the corresponding option in the Note tree contextual menu → Advanced.

              Interaction

              diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Ribbon.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Ribbon.html index 678b3d643..65654b7cd 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Ribbon.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Ribbon.html @@ -20,94 +20,93 @@ about the current note.

              Settings

              It is possible to change whether some ribbon items will be automatically - open when navigating to a new note. To do so, in Settings, + open when navigating to a new note. To do so, in Settings, go to Appearance and look for the Ribbon widgets section.

              Formatting

              If you are using the Fixed formatting toolbar, all the formatting - buttons for text notes will appear here. See Formatting toolbar for + buttons for text notes will appear here. See Formatting toolbar for more information.

              Tabs

              Basic Properties

                -
              • Note type allows changing the note type of +
              • Note type allows changing the note type of a note.
                • Generally this is desirable only if the note is empty.
                • As a more advanced use, it's possible to change the note type in order - to modify the source code of - a note.
                • + to modify the source code of a note.
              • Protect the note toggles whether the current note is encrypted and accessible only by entering the protected session. - See Protected Notes for + See Protected Notes for more information.
              • Editable changes whether the current note:
                  -
                • Enters read-only mode automatically +
                • Enters read-only mode automatically if the note is too big (default behaviour).
                • Is always in read-only mode (however it can still be edited temporarily).
                • Is always editable, regardless of its size.
              • Bookmark toggles the display of the current note - into the Launch Bar for easy - access. See Bookmarks for + into the Launch Bar for + easy access. See Bookmarks for more information.
              • Shared toggles whether the current note is publicly - accessible if you have a server instance set - up. See Sharing for - more information.
              • + accessible if you have a server instance set + up. See Sharing for more + information.
              • Template toggles whether the current note is considered a template and can be used to easily create notes with the same - content. See Template for + content. See Template for more information.
              • Language changes the main language of the current note, mostly useful for spell checking or right-to-left support. See  Content language & Right-to-left support for more information.
              • + href="#root/_help_veGu4faJErEM">Content language & Right-to-left support for more information.

              Owned Attributes

              This section allows editing the labels and relations of a note. For more - information, see Attributes.

              + information, see Attributes.

              The plus button to the right offers a simplified way to insert labels and relations, via a graphical input. From this menu, it's also possible - to define label and relation definitions (see Promoted Attributes).

              + to define label and relation definitions (see Promoted Attributes).

              Inherited Attributes

              This section displays the attributes which are applied to this note via  Attribute Inheritance. It is not possible to alter the attributes + href="#root/_help_bwZpz2ajCEwO">Attribute Inheritance. It is not possible to alter the attributes from this section.

              Note Paths

              This section displays all the places where the current note has been cloned to. Here the current note can also be cloned to a new location (similar - to the Note Tree) See Cloning Notes for - more information.

              + to the Note Tree) See  + Cloning Notes for more information.

              Note Map

              The note map displays all the relations of the current note to other notes, - as well as the subtree structure. See Note Tree for + as well as the subtree structure. See Note Tree for more information.

              Similar Notes

              This section lists all the notes that are similar to the current one. - See Similar Notes for + See Similar Notes for more information.

              Note Info

              This section displays information about the current note:

                -
              • The internal ID of the - note.
              • -
              • The type of the note, as well as +
              • The internal ID of the note.
              • +
              • The type of the note, as well as its MIME type (used mostly for exporting notes).
              • The created and modification dates.
              • -
              • The estimated size of the note in the Database, +
              • The estimated size of the note in the Database, as well as its children count and size.

              Edited notes

              -

              This section pops automatically when entering a day note and +

              This section pops automatically when entering a day note and shows the notes that were edited that day.

              It is possible to disable this behavior from settings, by going to  Appearance settings and looking for the Ribbon widgets section.

              + class="reference-link" href="#root/_hidden/_options/_help__optionsAppearance">Appearance settings and looking for the Ribbon widgets section.

              diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar.html index d128147d6..ad9b84471 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar.html @@ -20,9 +20,9 @@

              The right sidebar displays specific content for the current note. Currently it includes:

              Note that the sidebar is not displayed if it would otherwise be empty, @@ -31,10 +31,10 @@

              The sidebar can be hidden or shown by using the toggleRightPane keyboard shortcut, which is not assigned by default.

              Relation with splits

              -

              When using Split View, +

              When using Split View, there is a single sidebar serving all the open splits for the current tab.

              + href="#root/_help_3seOhtN8uLIY">tab.

              Clicking on a note within the split view will display the sidebar for that note. If there are no items to display in the sidebar, it will remain closed.

              diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Split View.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Split View.html index ca6bd317a..85a460b2e 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Split View.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Split View.html @@ -37,9 +37,9 @@
            • Use the or the button to move around the splits.
            • -
            • Each tab has its own split view configuration (e.g. - one tab can have two notes in a split view, whereas the others are one-note - views). +
            • Each tab has its own split view configuration + (e.g. one tab can have two notes in a split view, whereas the others are + one-note views).
              • The tab will indicate only the title of the main note (the first one in the list).
              • @@ -48,10 +48,10 @@

              Splits and the note tree & hoisting

              Clicking on the content of a split will focus that split. While focused, - the Note Tree will + the Note Tree will also indicate the note that is being edited.

              It is possible for each of the splits to have their own Note Hoisting.

              + href="#root/_help_OR8WJ7Iz9K4U">Note Hoisting.

              When a new split is created, it will share the same note hoisting as the previous one. An easy solution to this is to simply hoist the notes after the split is created.

              diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Tabs.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Tabs.html index 2869eaef9..0215dec12 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Tabs.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Tabs.html @@ -19,13 +19,13 @@

              In Trilium, tabs allow easy switching between notes.

              Layout

              -

              Depending on the Vertical and horizontal layout:

              +

              Depending on the Vertical and horizontal layout:

              • For the vertical layout, the tabs will be placed at the top but to the - right of the Note Tree.
              • + right of the Note Tree.
              • For the horizontal layout, the tabs will be placed at the top in full-width, - above the note tree, allowing for more - tabs to be comfortably displayed.
              • + above the note tree, allowing + for more tabs to be comfortably displayed.

              Interaction

                @@ -34,8 +34,8 @@
              • To close a tab, press the corresponding button.
              • For multitasking, tabs can be used alongside Split View. Each tab can have one or more - notes, displayed horizontally.
              • + href="#root/_help_luNhaphA37EO">Split View. Each tab can have one or + more notes, displayed horizontally.
              • Tabs can be reordered by drag-and-dropping it into a new position.
              • An existing tab can be displayed in a new window by dragging the tab upwards or downwards. It is not possible to combine tabs back into another window.
              • diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout.html index 89e3514d6..bcf3a6d1a 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout.html @@ -18,19 +18,19 @@

                Vertical layout

                The vertical layout is Trilium's original layout:

                @@ -39,25 +39,25 @@

                The horizontal layout is a more traditional layout, since it bears similarity with other applications. In this mode:

                  -
                • The Launch Bar is +
                • 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 is - now part of the Launch Bar. +
                • 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 +
                • The Note Tree can be collapsed by pressing the small button to the left of the first tab.
                • -
                • The Global menu can +
                • The Global menu can be accessed via the - button at the end of the Launch Bar.
                • + button at the end of the Launch Bar.

                Changing the layout

                -

                Go to Options and +

                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 diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/FAQ.html b/src/public/app/doc_notes/en/User Guide/User Guide/FAQ.html index f0f98ab37..92069df9e 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/FAQ.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/FAQ.html @@ -16,7 +16,7 @@

                macOS support

                Originally, Trilium Notes considered the macOS build unsupported. TriliumNext commits to make the experience on macOS as good as possible.

                -

                if you find any platform-specific issues, feel free to report them.

                +

                if you find any platform-specific issues, feel free to report them.

                Translation / localisation support

                The original Trilium Notes application did not support multiple languages. Since we believe that internationalisation is a core part of an application, @@ -36,19 +36,18 @@

              • 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 scriptingsupport would be a XSS security hole, while with the single + href="#root/_help_CdNpE2pqjmI6">scriptingsupport 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

              This is normally not supported - one Trilium process can open only a single - instance of a database. However, + instance of a database. However, you can run two Trilium processes (from one installation), each connected to a separate document. To achieve this, you need to set a location for - the data directory in - the TRILIUM_DATA_DIR environment variable and separate port - on TRILIUM_PORT environment variable. How to do that depends - on the platform, in Unix-based systems you can achieve that by running - command such as this:

              TRILIUM_DATA_DIR=/home/me/path/to/data/dir TRILIUM_PORT=12345 trilium 
              + the data directory in the TRILIUM_DATA_DIR environment + variable and separate port on TRILIUM_PORT environment variable. + How to do that depends on the platform, in Unix-based systems you can achieve + that by running command such as this:

              TRILIUM_DATA_DIR=/home/me/path/to/data/dir TRILIUM_PORT=12345 trilium 

              You can save this command into a .sh script file or make an alias. Do this similarly for a second instance with different data directory and port.

              @@ -59,9 +58,9 @@ that they will corrupt the database file, resulting in data loss and this message in the Trilium logs:

              SqliteError: database disk image is malformed

              The only supported way to sync Trilium's data across the network is to - use a sync/web server.

              + use a sync/web server.

              Why database instead of flat files?

              -

              Trilium stores notes in a database which +

              Trilium stores notes in a database which is an SQLite database. People often ask why doesn't Trilium rather use flat files for note storage - it's fair question since flat files are easily interoperable, work with SCM/git etc.

              @@ -70,17 +69,17 @@ with probably more problems.

              More detailed answer:

                -
              • clones are - what you might call "hard directory link" in filesystem lingo, but this - concept is not implemented in any filesystem
              • +
              • clones are what you might call "hard + directory link" in filesystem lingo, but this concept is not implemented + in any filesystem
              • filesystems make a distinction between directory and file while there's intentionally no such difference in Trilium
              • files are stored in no particular order and user can't change this
              • -
              • Trilium allows storing note attributes which +
              • Trilium allows storing note attributes which could be represented in extended user attributes but their support differs greatly among different filesystems / operating systems
              • Trilium makes links / relations between different notes which can be quickly - retrieved / navigated (e.g. for note map). + retrieved / navigated (e.g. for note map). There's no such support in file systems which means these would have to be stored in some kind of side-car files (mini-databases).
              • Filesystems are generally not transactional. While this is not completely diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Backup.html b/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Backup.html index a740f7071..e36855cd3 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Backup.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Backup.html @@ -15,7 +15,7 @@

                Trilium supports simple backup scheme where it saves copy of the  Database on these events:

                + class="reference-link" href="#root/_help_wX4HbRucYSDD">Database on these events:

                • once a day
                • once a week
                • @@ -24,27 +24,27 @@

                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.

                + by default in backup directory placed in the data directory.

                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 + href="#root/_help_wX4HbRucYSDD">Database to cloud / different computer etc.

                -

                Note that Synchronization provides +

                Note that Synchronization provides also some backup capabilities by its nature of distributing the data to other computers.

                Restoring backup

                Let's assume you want to restore the weekly backup, here's how to do it:

                  -
                • find data directory Trilium uses - easy - way is to open "About Trilium Notes" from "Menu" in upper left corner and - looking at "data directory" +
                • find data directory 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  Database backup
                • + class="reference-link" href="#root/_help_wX4HbRucYSDD">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)
                • @@ -59,11 +59,11 @@ will be detected and synced to the newer version.

                  Disabling backup

                  Although this is not recommended, it is possible to disable backup in config.ini in - the data directory:

                  [General]
                  +          the data directory:

                  [General]
                   ... some other configs
                   # set to true to disable backups (e.g. because of limited space on server)
                   noBackup=true
                  -

                  You can also review the configuration file +

                  You can also review the configuration file to provide all config.ini values as environment variables instead.

                  See sample config.

                diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Data directory.html b/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Data directory.html index bfc22b2b7..64d0b1e73 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Data directory.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Data directory.html @@ -15,11 +15,11 @@

                Data directory contains:

                  -
                • document.db - database +
                • document.db - database
                • config.ini - instance level settings like port on which the Trilium application runs
                • -
                • backup - contains automatically backup of +
                • backup - contains automatically backup of documents
                • log - contains application log files
                @@ -72,7 +72,7 @@

                Create a script to run with specific data directory

                An alternative to globally setting environment variable is to run only the Trilium Notes with this environment variable. This then allows for - different setup styles like two database instances + different setup styles like two database instances or "portable" installation.

                To do this in unix based systems simply run trilium like this:

                TRILIUM_DATA_DIR=/home/myuser/data/my-trilium-data trilium

                You can then save the above command as a shell script on your path for diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation.html b/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation.html index e00a7e1c0..f6cd78715 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation.html @@ -28,7 +28,7 @@

                • trilium-no-cert-check: Starts Trilium without validating TLS certificates, useful if connecting to a server with a self-signed + href="#root/_help_l2VkvOwUNfZj">TLS certificates, useful if connecting to a server with a self-signed certificate.
                  • Alternatively, set the NODE_TLS_REJECT_UNAUTHORIZED=0 environment @@ -36,14 +36,14 @@
                • trilium-portable: Launches Trilium in portable mode, where - the data directory is created within + the data directory is created within the application's directory, making it easy to move the entire setup.
                • trilium-safe-mode: Boots Trilium in "safe mode," disabling any startup scripts that might cause the application to crash.

                Synchronization

                For Trilium desktp users who wish to synchronize their data with a server - instance, refer to the Synchronization guide + instance, refer to the Synchronization guide for detailed instructions.

                diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Mobile Frontend.html b/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Mobile Frontend.html index 84a4049e8..3922d9bbf 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Mobile Frontend.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Mobile Frontend.html @@ -13,14 +13,14 @@

                Mobile Frontend

                -

                Trilium (server edition) has - a mobile web frontend which is optimized for touch based devices - smartphones +

                Trilium (server edition) has a + mobile web frontend which is optimized for touch based devices - smartphones and tablets. It is activated automatically during login process based on browser detection.

                Mobile frontend is limited in features compared to full desktop frontend. See below for more details on this.

                Note that this is not an Android/iOS app, this is just mobile friendly - web page served on the server edition.

                + web page served on the server edition.

                Screenshots

                Mobile phone

                @@ -36,7 +36,7 @@

                • it is possible to browse the whole note tree, read and edit all types of notes, but you can create only text notes
                • -
                • reading and editing protected notes is +
                • reading and editing protected notes is possible, but creating them is not supported
                • editing options is not supported
                • cloning notes is not supported
                • @@ -47,7 +47,7 @@ If this is not appropriate, you can use ?mobile or ?desktop query param on login page (Note: you might need to log out).

                  Scripting

                  -

                  You can alter the behavior with scripts just +

                  You can alter the behavior with scripts just like for normal frontend. For script notes to be executed, they need to have labeled #run=mobileStartup.

                diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation.html b/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation.html index 827262152..62d4637d5 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation.html @@ -14,42 +14,42 @@

                This guide outlines the steps to install Trilium on your own server. You - might consider this option if you want to set up synchronization or + might consider this option if you want to set up synchronization or use Trilium in a browser - accessible from anywhere.

                Installation Options

                There are several ways to install Trilium on a server, each with its own advantages:

                -

                The server installation includes both web and mobile frontends.

                +

                The server installation includes both web and mobile frontends.

                Configuration

                After setting up your server installation, you may want to configure settings - such as the port or enable TLS. - Configuration is managed via the Trilium config.ini file, which - is located in the data directory by default. + such as the port or enable TLS. Configuration + is managed via the Trilium config.ini file, which is located + in the data directory by default. To begin customizing your setup, copy the provided config-sample.ini file with default values to config.ini.

                -

                You can also review the configuration file +

                You can also review the configuration file to provide all config.ini values as environment variables instead.

                Config Location

                -

                By default, config.ini, the database, - and other important Trilium data files are stored in the data directory. +

                By default, config.ini, the database, + and other important Trilium data files are stored in the data directory. If you prefer a different location, you can change it by setting the TRILIUM_DATA_DIR environment variable:

                export TRILIUM_DATA_DIR=/home/myuser/data/my-trilium-data

                Disabling Authentication

                @@ -72,7 +72,7 @@ noAuthentication=true

                To avoid limiting the size of payloads, include this in the server {} block:

                # Set to 0 for unlimited. Default is 1M.
                 client_max_body_size 0;

                Apache

                -

                For an Apache setup, refer to the Apache proxy setup guide.

                +

                For an Apache setup, refer to the Apache proxy setup guide.

                diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Docker Server Installation.html b/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Docker Server Installation.html index e56e70d01..8d136add5 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Docker Server Installation.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Docker Server Installation.html @@ -80,9 +80,9 @@ docker inspect [container_name]
                is the container's path. More details can be found in the Docker Volumes Documentation.

                Reverse Proxy

                  -
                1. Nginx +
                2. Nginx
                3. -
                4. Apache +
                5. Apache

                Note on --user Directive

                diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Manual server installation.html b/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Manual server installation.html index 412650d70..3aa1347d5 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Manual server installation.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Manual server installation.html @@ -49,7 +49,7 @@ nohup TRILIUM_ENV=dev node src/www & browser and navigate to http://localhost:8080 to access Trilium (replace "localhost" with your hostname).

                TLS

                -

                Don't forget to configure TLS which +

                Don't forget to configure TLS which is required for secure usage!

                diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Packaged server installation.html b/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Packaged server installation.html index afbf79512..bca16d20a 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Packaged server installation.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Packaged server installation.html @@ -77,10 +77,10 @@ WantedBy=multi-user.target at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12)

                If you get an error like this, you need to either upgrade your glibc (typically - by upgrading to up-to-date distribution version) or use some other server installation method.

                + by upgrading to up-to-date distribution version) or use some other server installation method.

                TLS

                -

                Don't forget to configure TLS, - which is required for secure usage!

                +

                Don't forget to configure TLS, which + is required for secure usage!

                diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/TLS Configuration.html b/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/TLS Configuration.html index 07adf3eb0..573d07e7e 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/TLS Configuration.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/TLS Configuration.html @@ -13,7 +13,7 @@

                TLS Configuration

                -

                Configuring TLS is essential for server installation in +

                Configuring TLS is essential for server installation in Trilium. This guide details the steps to set up TLS within Trilium itself.

                For a more robust solution, consider using TLS termination with a reverse proxy (recommended, e.g., Nginx). You can follow a guide like this for @@ -31,7 +31,7 @@

              Modifying config.ini

              Once you have your certificate, modify the config.ini file - in the data directory to configure + in the data directory to configure Trilium to use it:

              [Network]
               port=8080
               # Set to true for TLS/SSL/HTTPS (secure), false for HTTP (insecure).
              @@ -40,7 +40,7 @@ https=true
               # Relevant only if https=true
               certPath=/[username]/.acme.sh/[hostname]/fullchain.cer
               keyPath=/[username]/.acme.sh/[hostname]/example.com.key
              -

              You can also review the configuration file +

              You can also review the configuration file to provide all config.ini values as environment variables instead.

              The above example shows how this is set up in an environment where the certificate was generated using Let's Encrypt's ACME utility. Your paths diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Synchronization.html b/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Synchronization.html index 5438b47a9..0946bc6a7 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Synchronization.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Synchronization.html @@ -27,7 +27,7 @@

              Setting Up Synchronization

              Security Considerations

              Setting up the server securely is critical and can be complex. It is crucial - to use a valid TLS certificate (HTTPS) + to use a valid TLS certificate (HTTPS) rather than an unencrypted HTTP connection to ensure security and avoid potential vulnerabilities.

              Synchronizing a Desktop Instance with a Sync Server

              @@ -55,7 +55,7 @@

              This method is used when you already have a sync server and want to configure a new desktop instance to sync with it.

                -
              1. Desktop Setup: Follow the desktop installation page.
              2. +
              3. Desktop Setup: Follow the desktop installation page.
              4. Initial Configuration: When prompted, choose the option to set up sync with a sync server.
              @@ -97,7 +97,7 @@

              Conflict Resolution

              If you edit the same note on multiple instances before synchronization, Trilium resolves conflicts by retaining the newer change and discarding - the older one. The older version remains accessible in note revisions, + the older one. The older version remains accessible in note revisions, allowing data recovery if needed.

              Hash Check

              After each synchronization, Trilium computes a hash of all synced data diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Upgrading TriliumNext.html b/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Upgrading TriliumNext.html index 234e0376a..5b3406a72 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Upgrading TriliumNext.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Upgrading TriliumNext.html @@ -20,21 +20,21 @@ be performed manually. The upgrade process varies depending on the installation method:

              Database Compatibility and Migration

              -

              Upon startup, Trilium will automatically migrate the database to +

              Upon startup, Trilium will automatically migrate the database to the new version. Note that after migration, older versions of Trilium will be unable to read the database. If you need to revert to a previous version - of Trilium and its database, you can restore the backup that + of Trilium and its database, you can restore the backup that is created prior to migration.

              Sync Compatibility

              -

              The synchronization protocol used by - Trilium is versioned, requiring all members of the sync cluster to use +

              The synchronization protocol used + by Trilium is versioned, requiring all members of the sync cluster to use the same protocol version. Therefore, when upgrading to a new version, you may need to upgrade all instances in the sync cluster. Changes to the sync protocol version are typically indicated on the release page.

              diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.html b/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.html index fbc3a2b39..e40e3847d 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.html @@ -32,8 +32,8 @@

            Trilium will save these clippings as a new child note under a "clipper inbox" note.

            -

            By default, that's the day note but - you can override that by setting the label clipperInbox, +

            By default, that's the day note but + you can override that by setting the label clipperInbox, on any other note.

            If there's multiple clippings from the same page (and on the same day), then they will be added to the same note.

            @@ -48,7 +48,7 @@

            Configuration

            The extension needs to connect to a running Trilium instance. By default, it scans a port range on the local computer to find a desktop Trilium instance.

            -

            It's also possible to configure the server address +

            It's also possible to configure the server address if you don't run the desktop application, or want it to work without the desktop application running.

            Username

            diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types.html index afcb7f4cb..39729f2b9 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types.html @@ -18,10 +18,10 @@

            Creating a new note with a different type via the note tree

            The default note type in Trilium (e.g. when creating a new note) is  Text, since it's for general use.

            + class="reference-link" href="#root/_help_iPIMuisry3hd">Text, since it's for general use.

            To create a new note of a different type, head to the Note Tree and - right click an existing note where to place the new one and select:

            + href="#root/_help_oPVyFC7WL2Lp">Note Tree and right click an existing + note where to place the new one and select:

            • Insert note after, to put the new note underneath the one selected.
            • Insert child note, to insert the note as a child of the selected @@ -32,18 +32,18 @@

              Creating a new note of a different type via add link or new tab

                -
              • When adding a link in a  - Text note, type the desired title of the new note and press Enter. - Afterwards the type of the note will be asked.
              • +
              • When adding a link in a Text note, type the desired title + of the new note and press Enter. Afterwards the type of the note will be + asked.
              • Similarly, when creating a new tab, type the desired title and press Enter.

              Changing the type of a note

              It is possible to change the type of a note after it has been created via the Basic Properties tab in the Ribbon. - Note that it's generally a good idea to change the note type only if the - note is empty. Can also be used to edit the source of a note.

              + href="#root/_help_BlN9DFI679QC">Ribbon. Note that it's generally a + good idea to change the note type only if the note is empty. Can also be + used to edit the source of a note.

              Supported note types

              The following note types are supported by Trilium:

              - Text + Text The default note type, which allows for rich text formatting, images, admonitions and right-to-left support. - Code + 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 + 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 + 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 + Note Map Displays the relationships between the notes, whether via relations or their hierarchical structure. - Render Note + Render Note - Used in Scripting, + 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 + Book

              Displays the children of the note either as a grid, a list, or for a more @@ -108,37 +108,37 @@ - Mermaid Diagrams + 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 + Canvas Allows easy drawing of sketches, diagrams, handwritten content. Uses the same technology behind excalidraw.com. - Web View + Web View Displays the content of an external web page, similar to a browser. - Mind Map + Mind Map Easy for brainstorming ideas, by placing them in a hierarchical layout. - Geo Map + 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 + File Represents an uploaded file such as PDFs, images, video or audio files. diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Book.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Book.html index d52053cec..c6789cd5f 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Book.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Book.html @@ -13,7 +13,7 @@

              Book

              -

              A Book Note in Trilium is a special type of note designed +

              A Book Note in Trilium is a special type of note designed to display the contents of its child notes sequentially, creating a linear, book-like reading experience. This format is particularly useful for viewing multiple smaller notes in a cohesive, continuous manner.

              @@ -27,12 +27,12 @@

              The Book Note format compiles the contents of all child notes into one continuous view. This makes it ideal for reading extensive information broken into smaller, manageable segments.

              -

              It uses the Note List mechanism +

              It uses the Note List mechanism to display the child notes, allowing the use of any of the view types (grid, list, calendar).

              To adjust the view type, see the dedicated Book tab in the  Ribbon.

              + class="reference-link" href="#root/_help_BlN9DFI679QC">Ribbon.

              diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Code.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Code.html index ec9ef88a0..c7a4599af 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Code.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Code.html @@ -22,37 +22,36 @@
            • JavaScript code notes can be executed inside Trilium for some extra functionality
              • we call such JavaScript code notes "scripts" - see Scripting + href="#root/_help_CdNpE2pqjmI6">Scripting
            • JSON, XML etc. can be used as storage for structured data (typically used in conjunction with scripting)
            -

            For shorter snippets of code that can be embedded in Text notes, - see Code blocks.

            +

            For shorter snippets of code that can be embedded in Text notes, + see Code blocks.

            Adjusting the language of a code note

            -

            In the Ribbon, - look for the Note type selector and click it to reveal the possible - note types. Inside of it there will be a section called Code, select - any one of the languages.

            +

            In the Ribbon, look for the Note type selector + and click it to reveal the possible note types. Inside of it there will + be a section called Code, select any one of the languages.

            Adjusting the list of languages

            Trilium supports syntax highlighting for many languages, but by default displays only some of them. The supported languages can be adjusted by - going to Options, - then Code Notes and looking for the Available MIME types in the dropdown section. - Simply check any of the items to add them to the list, or un-check them - to remove them from the list.

            + going to Options, then Code Notes and + looking for the Available MIME types in the dropdown section. Simply + check any of the items to add them to the list, or un-check them to remove + them from the list.

            Note that the list of languages is not immediately refreshed, you'd have - to manually refresh the application.

            -

            The list of languages is also shared with the Code blocks feature - of Text notes.

            + to manually refresh the application.

            +

            The list of languages is also shared with the Code blocks feature + of Text notes.

            diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/File.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/File.html index aa9bce33f..64493c0b3 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/File.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/File.html @@ -19,7 +19,7 @@

            Since these files come from an external source, it is not possible to create a File note type directly:

              -
            • Drag a file into the Note Tree.
            • +
            • Drag a file into the Note Tree.
            • Right click a note and select Import into note and point it to one of the supported files.
            @@ -53,7 +53,7 @@
            • Copy reference to clipboard, for embedding the image within  Text notes. See Image references for + class="reference-link" href="#root/_help_iPIMuisry3hd">Text notes. See Image references for more information.

            Videos

            @@ -68,11 +68,10 @@

            Although Trilium offers support for videos, it is generally not meant to be used with very large files. Uploading large videos will cause the  Database to balloon as well as the any Backup of it. - In addition to that, there might be slowdowns when first uploading the - files. Otherwise, a large database should not impact the general performance - of Trilium significantly.

            + class="reference-link" href="#root/_help_wX4HbRucYSDD">Database to balloon as well as the any Backup of it. In addition to that, + there might be slowdowns when first uploading the files. Otherwise, a large + database should not impact the general performance of Trilium significantly.

            Audio

            @@ -99,10 +98,10 @@ content. One common use case for this type of file is to embed text files whose content is not necessarily of interest to the user, such as third-party libraries or generated content, that can then be downloaded if needed.

            -

            Note that generally text files will be imported as - either Text or  +

            Note that generally text files will be imported as + either Text or  Code notes. To bypass this behavior and create a File note + class="reference-link" href="#root/_help_6f9hih2hXXZk">Code notes. To bypass this behavior and create a File note type, use the Import into note feature and uncheck Import HTML, Markdown and TXT as text notes, as well as Import recognized code files as code notes

            Since one of the use cases for having files instead of notes is to display @@ -122,7 +121,7 @@

            • Regardless of the file type, a series of buttons will be displayed in the Image or File tab in the Ribbon. + href="#root/_help_BlN9DFI679QC">Ribbon.
              • Download, which will download the file for local use.
              • Open, will will open the file with the system-default application.
              • @@ -130,25 +129,26 @@
            • It is not possible to change the note type of a File note.
            • -
            • Convert into an attachment from - the note menu.
            • +
            • Convert into an attachment from the + note menu.

            Relation with other notes

            • -

              Files are also displayed in the Note List based +

              Files are also displayed in the Note List based on their type:

            • Non-image files can be embedded into text notes as read-only widgets via - the Include Note functionality.

              + the Include Note functionality.

            • Image files can be embedded into text notes like normal images via  Image references.

              + class="reference-link" href="#root/_help_0Ofbk1aSuVRu">Image references.

            diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Geo Map.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Geo Map.html index b63c73d35..d1616e183 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Geo Map.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Geo Map.html @@ -78,7 +78,7 @@ 1 To create a marker, first navigate to the desired point on the map. Then press the - button in the Floating buttons (top-right) + button in the Floating buttons (top-right) area. 

            If the button is not visible, make sure the button section is visible diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Mermaid Diagrams.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Mermaid Diagrams.html index 1c54e986e..2702c6f6d 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Mermaid Diagrams.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Mermaid Diagrams.html @@ -33,7 +33,7 @@

          It's possible to switch between the two layouts at any time by pressing the - icon in the Floating buttons area.

          + icon in the Floating buttons area.

          Interaction

          • The source code of the diagram (in Mermaid format) is displayed on the @@ -57,7 +57,7 @@
          • The size of the source/preview panes can be adjusted by hovering over the border between them and dragging it with the mouse.
          • -
          • In the Floating buttons area: +
          • In the Floating buttons area:
            • The source/preview can be laid out left-right or bottom-top via the Move editing pane to the left / bottom option.
            • Press Lock editing to automatically mark the note as read-only. @@ -65,8 +65,7 @@ Similarly, press Unlock editing to mark a read-only note as editable.
            • Press the Copy image reference to the clipboard to be able to insert the image representation of the diagram into a text note. See Image references for - more information.
            • + href="#root/_help_0Ofbk1aSuVRu">Image references for more information.
            • Press the Export diagram as SVG to download a scalable/vector rendering of the diagram. Can be used to present the diagram without degrading when zooming.
            • diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Mind Map.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Mind Map.html index cbe5bd648..c0b6aeb38 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Mind Map.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Mind Map.html @@ -44,10 +44,10 @@ new nodes, focusing on a particular notes or creating links between them.
            • Use the buttons at the top-left to change the positioning of the nodes relative to the root node (to the left, to the right, or to both sides).
            • -
            • In the Floating buttons area: +
            • In the Floating buttons area:
                -
              • An image reference can - be copied, to paste the mind map in a text note.
              • +
              • An image reference can be copied, + to paste the mind map in a text note.
              • The diagram can be exported either as SVG (vectorial) or PNG (raster).
            • diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Note Map.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Note Map.html index 27b48d8c1..0037c8528 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Note Map.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Note Map.html @@ -18,7 +18,7 @@ height="763">

              A Note map is a note type which displays a standalone version of the feature - of the same name: Note Map (Link map, Tree map).

              + of the same name: Note Map (Link map, Tree map).

              Once created, the note map will display the relations between notes. Only the notes that are part of the parent of the note map will be displayed (including their children).

              diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Relation Map.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Relation Map.html index fe826a075..21d76a7c4 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Relation Map.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Relation Map.html @@ -13,8 +13,8 @@

              Relation Map

              -

              Relation map is a type of Note which - visualizes notes and their relations. +

              Relation map is a type of Note which + visualizes notes and their relations. See an example:

              Development process demo

              This is a basic example how you can create simple diagram using relation @@ -30,11 +30,11 @@ process" and changing its type to "Relation map". After that we create new notes one by one and place them by clicking into the map. We also drag relationsbetween notes and name them. That's all!

              + href="#root/_help_zEY4DaJG4YT5">relationsbetween notes and name them. That's all!

              Items on the map - "Specification", "Development", "Testing" and "Demo" are actually notes which have been created under "Development process" note - you can click on them and write some content. Connections between - notes are called "relations".

              + notes are called "relations".

              Family demo

              This is more complicated demo using some advanced concepts. Resulting diagram is here:

              @@ -50,7 +50,7 @@
            • we start with empty relation map and two existing notes representing Prince Philip and Queen Elizabeth II. These two notes already have "isPartnerOf" relationsdefined. + href="#root/_help_zEY4DaJG4YT5">relationsdefined.
              • There are actually two "inverse" relations (one from Philip to Elizabeth and one from Elizabeth to Philip)
              • @@ -64,8 +64,8 @@
              • we create two new relations "isChildOf" targeting both Philip and Elizabeth
                • now there's something unexpected - we can also see the relation to display - another "hasChild" relation. This is because there's a relation definition which - puts "isChildOf" as an "inverse" + another "hasChild" relation. This is because there's a relation definition which + puts "isChildOf" as an "inverse" relation of "hasChildOf" (and vice versa) and thus it is created automatically.
              • @@ -77,7 +77,7 @@

              Relation definitions mentioned above come from "Person template" note which is assigned to any child of "My Family Tree" relation note. You can - play with the whole thing in the demo notes.

              + play with the whole thing in the demo notes.

              Details

              You can specify which relations should be displayed with comma delimited names of relations in displayRelations label.

              @@ -86,8 +86,7 @@ the ones defined in the label.

              See also

            • diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Render Note.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Render Note.html index 347cf2129..948943a35 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Render Note.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Render Note.html @@ -17,29 +17,29 @@ -

              Render Note is used in Scripting. - It works by displaying the HTML of a Code note, +

              Render Note is used in Scripting. + It works by displaying the HTML of a Code note, via an attribute.

              Creating a render note

                -
              1. Create a Code note +
              2. Create a Code note with the HTML language, with what needs to be displayed (for example <p>Hello world.</p>).
              3. -
              4. Create a Render Note.
              5. -
              6. Assign the renderNote relation to +
              7. Create a Render Note.
              8. +
              9. Assign the renderNote relation to point at the previously created code note.

              Dynamic content

              A static HTML is generally not enough for Scripting. The next step is to automatically + href="#root/_help_CdNpE2pqjmI6">Scripting. The next step is to automatically change parts of the note using JavaScript.

              For a simple example, we are going to create a render note that displays the current date in a field.

              To do so, first create an HTML code note with the following content:

              <h1>Current date & time</h1>
               The current date & time is <span class="date"></span>

              Now we need to add the script. Create another Code, but this time of JavaScript (frontend) language. - Make sure the newly created note is a direct child of the HTML note created - previously; with the following content:

              const $dateEl = api.$container.find(".date");
              +          href="#root/_help_6f9hih2hXXZk">Code, but this time of JavaScript (frontend)
              +          language. Make sure the newly created note is a direct child of the HTML
              +          note created previously; with the following content:

              const $dateEl = api.$container.find(".date");
               $dateEl.text(new Date());

              Now create a render note at any place and set its ~renderNote relation to point to the HTML note. When the render note is accessed it will display:

              @@ -50,8 +50,8 @@ $dateEl.text(new Date());

              Examples

              diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Saved Search.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Saved Search.html index 2281ab37e..342965915 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Saved Search.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Saved Search.html @@ -25,8 +25,8 @@

              Location

              By default, saved searches are stored in the day note. However, you can designate a different note to store saved searches by marking it with the #searchHome label. - Additionally, for workspaces, - you can use the #workspaceSearchHome label to specify a storage + Additionally, for workspaces, you + can use the #workspaceSearchHome label to specify a storage location for saved searches within that workspace.

              diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text.html index 960abcbc0..3251e58be 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text.html @@ -29,7 +29,7 @@

              Read-Only vs. Editing Mode

              Text notes are usually opened in edit mode. However, they may open in read-only mode if the note is too big or the note is explicitly marked - as read-only. For more information, see Read-Only Notes.

              + as read-only. For more information, see Read-Only Notes.

              General Formatting

              Since Trilium uses CKEditor, all of its formatting options are available here. You may use the graphical toolbar shown above, or enter formatting @@ -43,7 +43,7 @@

            Lists

            -

            See Lists.

            +

            See Lists.

            Blocks

            • Block quote: Start a line with > followed by a space
            • @@ -52,10 +52,10 @@

              The following features are supported:

              -

              See Developer-specific formatting for +

              See Developer-specific formatting for more information.

              Headings

              Create headings by starting a line with ## for heading 2, ### for diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Developer-specific formatting.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Developer-specific formatting.html index 74c8cddf2..afb88712b 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Developer-specific formatting.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Developer-specific formatting.html @@ -23,7 +23,7 @@ as shell commands (git in this case).

              To insert an inline code:

                -
              • Via the Formatting toolbar, +
              • Via the Formatting toolbar, look for the button.
              • Type `code` where code is the desired text to be automatically @@ -36,8 +36,9 @@

                A code block with JavaScript syntax highlight enabled.

                Note that these are not meant for very large portions of code. Use the - dedicated Code note type instead.

                -

                See the dedicated documentation for more information: Code blocks + dedicated Code note type + instead.

                +

                See the dedicated documentation for more information: Code blocks

                Keyboard shortcuts

                This allows marking a portion of text as a shortcut key.

                @@ -46,7 +47,7 @@

                To apply this style, press the button in - group from the Formatting toolbar. + group from the Formatting toolbar. On the floating toolbar, the buttons appear when selecting a text.

                diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Developer-specific formatting/Code blocks.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Developer-specific formatting/Code blocks.html index 03d5bc551..376fa9b3a 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Developer-specific formatting/Code blocks.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Developer-specific formatting/Code blocks.html @@ -18,11 +18,11 @@

                The code blocks feature allows entering pieces of code in text notes.

                Note that this feature is meant for generally small snippets of code. - For larger files such as an entire log, see the Code blocks note + For larger files such as an entire log, see the Code blocks note type instead.

                Inserting a code block

                  -
                • Via the Formatting toolbar, +
                • Via the Formatting toolbar, look for the button.
                    @@ -43,7 +43,7 @@

                    Syntax highlighting

                    Since TriliumNext v0.90.12, Trilium will try to offer syntax highlighting to the code block. Note that the syntax highlighting mechanism is slightly - different than the one in Code Notes notes + different than the one in Code Notes notes as different technologies are involved.

                    When the language is set to Auto-detected, Trilium will try to identify the programming language (or similar) that corresponds to the @@ -53,20 +53,20 @@ highlighting.

                    Changing the language of a code block

                    Simply click anywhere inside the code block and press again the code block - button in the Formatting toolbar: + button in the Formatting toolbar:

                    Adjusting the list of languages

                    The code blocks feature shares the list of languages with the  Code Notes note type.

                    -

                    The supported languages can be adjusted by going to Options, + href="#root/_help_6f9hih2hXXZk">Code Notes note type.

                    +

                    The supported languages can be adjusted by going to Options, then Code Notes and looking for the Available MIME types in the dropdown section. Simply check any of the items to add them to the list, or uncheck them to remove them from the list.

                    Note that the list of languages is not immediately refreshed, you'd have - to manually refresh the application.

                    + to manually refresh the application.

                    diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Formatting toolbar.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Formatting toolbar.html index 21b6d391f..1190183ef 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Formatting toolbar.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Formatting toolbar.html @@ -15,7 +15,7 @@

                    Trilium allows two different editing experiences for text notes, based on your preference.

                    -

                    To do so, go to Options and +

                    To do so, go to Options and look for the Text Notes section. There is a corresponding section called Formatting toolbar.

                    Floating

                    @@ -43,7 +43,7 @@

                    The fixed formatting offers a more traditional editing paradigm, usually useful if a lot of formatting is needed.

                    All the options are combined into a single toolbar that will appear as - part of the Ribbon.

                    + part of the Ribbon.

                    diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Highlights list.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Highlights list.html index 6bd65a081..20e4060fe 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Highlights list.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Highlights list.html @@ -17,10 +17,10 @@ -

                    Similar to the Table of contents, +

                    Similar to the Table of contents, but instead of headings this feature will list highlighted text from a text note and allow easy navigation to them. The list will be displayed - in the Right Sidebar, + in the Right Sidebar, provided there is at least one highlighted text.

                    Highlighted text is defined as:

                      @@ -34,17 +34,17 @@
                      • Clicking on a highlighted text will scroll the document to its position.
                      • Pressing the close button will dismiss the list of highlights but it can - be shown again from the Floating buttons section.
                      • + be shown again from the Floating buttons section.

                      Global configuration

                      It's possible to toggle the display of each category of highlighted text (as defined above) in the highlights list by going to Text Notes settings + href="#root/_hidden/_options/_help__optionsTextNotes">Text Notes settings and looking for the Highlights List section.

                      Per-note configuration

                      To suppress the display of highlighted text for one specific note, use  Attributes to add the #hideHighlightWidget label.

                      + class="reference-link" href="#root/_help_zEY4DaJG4YT5">Attributes to add the #hideHighlightWidget label.

                    diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Images.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Images.html index ad6afcca6..0d81006c6 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Images.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Images.html @@ -15,11 +15,11 @@

                    Trilium supports storing and displaying images. Supported formats are JPEG, PNG and GIF.

                    -

                    An image can be uploaded in the form of note's attachment or - as a standalone note placed - into the note tree. - Its reference can be copied into a text note, in order to display it in - the text itself.

                    +

                    An image can be uploaded in the form of note's attachment or + as a standalone note placed into the + note tree. Its reference can be copied into a text note, in order + to display it in the text itself.

                    Uploading images

                    To add an image to the note, simply drag it from file explorer onto the note editor inside Trilium and the image will be uploaded.

                    diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Images/Image references.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Images/Image references.html index 730e254ee..053848f3b 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Images/Image references.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Images/Image references.html @@ -18,21 +18,21 @@ height="553">

                    Image references are an easy way to embed the preview of another note - type into a Text note.

                    + type into a Text note.

                    Supported note types

                    Steps

                    1. Go to one of the supported notes (listed above) and look for the - button in the Floating buttons area.
                    2. -
                    3. Go to a Text note + button in the Floating buttons area.
                    4. +
                    5. Go to a Text note and use the Paste function to insert the reference to that note.

                    Interaction

                    @@ -42,7 +42,7 @@
                  • Clicking an image reference while Ctrl is pressed will open the target note in a new tab.
                  • Modifying the target note should also update the image reference. If that - doesn't happen, consider Refreshing the application.
                  • + doesn't happen, consider Refreshing the application.
                  diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Include Note.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Include Note.html index f2fb35e5f..d0e9afb33 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Include Note.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Include Note.html @@ -17,7 +17,7 @@ be useful for e.g. including a dynamically generated chart (from scripts & "render HTML" note) or other more advanced use cases.

                  Including a note

                  -

                  In the Formatting toolbar, +

                  In the Formatting toolbar, look for the button. There is also a keyboard shortcut defined for it but it is not allocated by default.

                  diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Links.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Links.html index 71d6c2b0a..357a19455 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Links.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Links.html @@ -50,7 +50,7 @@ press enter and you have a link.

                  Note map

                  Trilium provides a visualisation of incoming and outgoing links for a - particular note. See note map for + particular note. See note map for details.

                  diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Table of contents.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Table of contents.html index b503678db..b93723e19 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Table of contents.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Text/Table of contents.html @@ -17,17 +17,17 @@ -

                  The table of contents appears in the Right Sidebar automatically +

                  The table of contents appears in the Right Sidebar automatically when there are multiple headings in a text note.

                  Interaction

                  • Clicking on a heading will scroll the document to the position of the heading.
                  • Pressing the close button will dismiss the table of contents but it can - be shown again from the Floating buttons section.
                  • + be shown again from the Floating buttons section.

                  Global configuration

                  -

                  In Text Notes options, +

                  In Text Notes options, look for the Table of Contents section and configure the minimum amount of headings that need to be present in the current note in order for the table of contents to show:

                  @@ -37,7 +37,7 @@ to 1.

                Per-note configuration

                -

                Use Attributes to +

                Use Attributes to configure the table of contents for a particular note:

                • #toc=show will show the table of contents for that note regardless diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Web View.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Web View.html index 58c391468..de93125df 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Web View.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Web View.html @@ -15,7 +15,7 @@

                  Configuration

                  A webview needs to know which URL to render, and it can be provided by - setting the webViewSrc label, + setting the webViewSrc label, such as:

                  #webViewSrc="https://www.wikipedia.org"

                  Web view on the server vs. Electron

                  When accessing Trilium via a browser instead of the desktop application, diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Quick Start.html b/src/public/app/doc_notes/en/User Guide/User Guide/Quick Start.html index caadb1cd5..bc73adeb3 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Quick Start.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Quick Start.html @@ -17,16 +17,16 @@

                  Local only desktop/laptop - Allows a single instance on a desktop and will save the notes locally on that desktop.

                    -
                  1. Desktop installation +
                  2. Desktop installation

                  Server with web only access - Installs the application on the server and allows access from any web browser on any device, including mobile.

                    -
                  1. Server installation +
                  2. Server installation
                  3. -
                  4. Mobile frontend (optional)
                  5. +
                  6. Mobile frontend (optional)
                  7. PikaPods managed hosting
                  @@ -37,12 +37,12 @@ desktop application will sync and store the data locally so that it can be used when offline.

                    -
                  1. Server installation +
                  2. Server installation
                  3. -
                  4. Mobile frontend (optional)
                  5. -
                  6. Desktop installation +
                  7. Mobile frontend (optional)
                  8. +
                  9. Desktop installation
                  10. -
                  11. Synchronization +
                  12. Synchronization
                  diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Scripting.html b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting.html index d07d5bd82..8395938bd 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Scripting.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting.html @@ -13,10 +13,10 @@

                  Scripting

                  -

                  Trilium supports creating Code notes, +

                  Trilium supports creating Code notes, i.e. notes which allow you to store some programming code and highlight it. Special case is JavaScript code notes which can also be executed inside - Trilium which can in conjunction with Script API provide + Trilium which can in conjunction with Script API provide extra functionality.

                  Scripting

                  To go further I must explain basic architecture of Trilium - in its essence @@ -33,7 +33,7 @@ we're onto something.

                  Use cases

                  Action handler

                  @@ -48,19 +48,19 @@ by Trilium runtime so when we restart Trilium, button won't be there.

                  We need to execute it every time Trilium starts up, but we probably don't want to have to manually click on play button on every start up.

                  -

                  The solution is marked by red circle at the bottom - this note has label #run=frontendStartup - +

                  The solution is marked by red circle at the bottom - this note has label #run=frontendStartup - this is one of the "system" labels which Trilium understands. As you might guess, this will cause all such labeled script notes to be executed once Trilium frontend starts up.

                  -

                  (#run=frontendStartup does not work for Mobile frontend - +

                  (#run=frontendStartup does not work for Mobile frontend - if you want to have scripts running there, give the script #run=mobileStartup label)

                  More showcases

                  You can see more scripting with explanation in Advanced Showcases.

                  + href="#root/_help_5668rwcirq1t">Advanced Showcases.

                  Events

                  -

                  See Events.

                  +

                  See Events.

                  Script API

                  -

                  See Script API.

                  +

                  See Script API.

                  diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Custom Widgets/Widget Basics.html b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Custom Widgets/Widget Basics.html index 07f4db347..e921c5b16 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Custom Widgets/Widget Basics.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Custom Widgets/Widget Basics.html @@ -33,15 +33,15 @@ module.exports = new MyWidget();
                  1. Create a new JS Frontend note in Trilium and paste in the code above.
                  2. -
                  3. Assign the #widget attribute to - the note.
                  4. +
                  5. Assign the #widget attribute to + the note.
                  6. Restart Trilium or reload the window.

                  To verify that the widget is working, open the developer tools (Cmd + Shift + I) and run document.querySelector("#my-widget"). If the element is found, the widget is functioning correctly. If undefined is - returned, double-check that the note has - the #widget attribute.

                  + returned, double-check that the note has + the #widget attribute.

                  Step 2: Adding an UI Element

                  Next, let's improve the widget by adding a button to it.

                  const template = ``;
                   
                  @@ -84,7 +84,7 @@ module.exports = new MyWidget();
                  of the left pane, alongside other action buttons.

                  Step 4: Adding User Interaction

                  Let’s make the button interactive by showing a message when it’s clicked. - We'll use the api.showMessage method from the Script API.

                  class MyWidget extends api.BasicWidget {
                  +          We'll use the api.showMessage method from the Script API.

                  class MyWidget extends api.BasicWidget {
                       get position() { return 1; }
                       get parentWidget() { return "left-pane"; }
                       
                  diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Custom Widgets/Word count widget.html b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Custom Widgets/Word count widget.html
                  index 982da8bd3..188598fba 100644
                  --- a/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Custom Widgets/Word count widget.html	
                  +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Custom Widgets/Word count widget.html	
                  @@ -15,9 +15,9 @@
                         
                  -

                  Create a Code note +

                  Create a Code note of type JS frontend and give it a #widget label.

                  /*
                    * This defines a custom widget which displays number of words and characters in a current text note.
                    * To be activated for a given note, add label 'wordCount' to the note, you can also make it inheritable and thus activate it for the whole subtree.
                  @@ -93,7 +93,7 @@ class WordCountWidget extends api.NoteContextAwareWidget {
                   }
                   
                   module.exports = new WordCountWidget();
                  -

                  After you make changes it is necessary to restart Trilium so +

                  After you make changes it is necessary to restart Trilium so that the layout can be rebuilt.

                  At the bottom of the note you can see the resulting widget:

                  Events
                  -

                  Script notes can be triggered by events. - Note that these are backend events and thus relation need to point to the - "JS backend" code note.

                  +

                  Script notes can be triggered by + events. Note that these are backend events and thus relation need to point + to the "JS backend" code note.

                  Global events

                  Global events are attached to the script note via label. Simply create e.g. "run" label with some of these values and script note will be executed @@ -50,7 +50,7 @@ runOnInstance Specifies that the script should only run on a particular Trilium instance. + href="#root/_help_c5xB8m4g2IY6">Trilium instance. runAtHour @@ -63,7 +63,7 @@

                  Entity events

                  -

                  Other events are bound to some entity, these are defined as relations - +

                  Other events are bound to some entity, these are defined as relations - meaning that script is triggered only if note has this script attached to it through relations (or it can inherit it).

                  diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Examples/New Task launcher button.html b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Examples/New Task launcher button.html index dca84feef..5ce1b1aab 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Examples/New Task launcher button.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Examples/New Task launcher button.html @@ -14,17 +14,16 @@

                  In this example we are going to extend the functionality of Task Manager showcase - (which comes by default with Trilium) by adding a button in the  - Launch Bar  ( - ) to create a new task automatically and open it.

                  + href="#root/_help_xYjQUYhpbUEW">Task Manager showcase (which comes + by default with Trilium) by adding a button in the Launch Bar  ( + ) to create a new task automatically and open it.

                  Creating the note

                    -
                  1. First, create a new Code note +
                  2. First, create a new Code note type with the JS frontend language.
                  3. Define the #run=frontendStartup label in Attributes.
                  4. + href="#root/_help_zEY4DaJG4YT5">Attributes.

                  Content of the script

                  Copy-paste the following script:

                  api.addButtonToToolbar({
                  @@ -45,7 +44,7 @@
                           

                  Testing the functionality

                  Since we set the script to be run on start-up, all we need to do is to refresh the application.

                  + href="#root/_help_s8alTXmpFR61">refresh the application.

                  Understanding how the script works

                  @@ -64,8 +63,8 @@ }); diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics.html b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics.html index 1ad9475ba..8dd622642 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics.html @@ -18,12 +18,12 @@ the current app and note context, and widgets that export an object to Trilium to be used in the UI. In both cases, the frontend api of Trilium is available to scripts running in the frontend context as global variable api. - The members and methods of the api can be seen on the Script API page.

                  + The members and methods of the api can be seen on the Script API page.

                  Scripts

                  Scripts don't have any special requirements. They can be run at will using the execute button in the UI or they can be configured to run at certain - times using Attributes on - the note containing the script.

                  + times using Attributes on the note + containing the script.

                  Global Events

                  This attribute is called #run and it can have any of the following values:

                  @@ -35,7 +35,7 @@
                • daily - executes once a day on backend.
                • Entity Events

                  -

                  These events are triggered by certain relations to +

                  These events are triggered by certain relations to other notes. Meaning that the script is triggered only if the note has this script attached to it through relations (or it can inherit it).

                    @@ -95,7 +95,7 @@ notes.

                  Tutorial

                  -

                  For more information on building widgets, take a look at Widget Basics.

                  +

                  For more information on building widgets, take a look at Widget Basics.

                  diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Theme development/Creating a custom theme.html b/src/public/app/doc_notes/en/User Guide/User Guide/Theme development/Creating a custom theme.html index 607ace904..9f205bce6 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Theme development/Creating a custom theme.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Theme development/Creating a custom theme.html @@ -71,7 +71,7 @@

                  Do note that the theme will be based off of the legacy theme. To override - that and base the theme on the new TriliumNext theme, see: Theme base (legacy vs. next) + that and base the theme on the new TriliumNext theme, see: Theme base (legacy vs. next)

                  Step 5. Making changes

                  Simply go back to the note and change according to needs. To apply the diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Theme development/Reference.html b/src/public/app/doc_notes/en/User Guide/User Guide/Theme development/Reference.html index acf60eba1..11b001cf6 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Theme development/Reference.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Theme development/Reference.html @@ -148,7 +148,7 @@ body.electron:not(.native-titlebar) { background-color: var(--workspace-tab-background-color); }

                  Custom fonts

                  -

                  Currently the only way to include a custom font is to use Custom resource providers. +

                  Currently the only way to include a custom font is to use Custom resource providers. Basically import a font into Trilium and assign it #customResourceProvider=fonts/myfont.ttf and then import the font in CSS via /custom/fonts/myfont.ttf.

                  Dark and light themes

                  diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Troubleshooting.html b/src/public/app/doc_notes/en/User Guide/User Guide/Troubleshooting.html index 43580ab7a..da121ac67 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Troubleshooting.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Troubleshooting.html @@ -31,7 +31,7 @@ In Linux, you can set it as follows:

                  TRILIUM_START_NOTE_ID=root ./trilium

                  Broken Script Prevents Application Startup

                  If a custom script causes Triliumto crash, and it is set as a startup - script or in an active custom widget, + script or in an active custom widget, start Triliumin "safe mode" to prevent any custom scripts from executing:

                  TRILIUM_SAFE_MODE=true ./trilium

                  Depending on your Trilium distribution, you may have pre-made scripts available: trilium-safe-mode.bat and trilium-safe-mode.sh.

                  @@ -40,21 +40,22 @@

                  Trilium periodically verifies the logical consistency of the database (e.g., ensuring every note has a parent). If inconsistencies are detected, you will be notified via the UI.

                  -

                  In such cases, file a bug report and attach an anonymized database if +

                  In such cases, file a bug report and attach an anonymized database if necessary.

                  Restoring Backup

                  Trilium makes regular automatic backups. If issues become severe, you - can restore from a backup.

                  + can restore from a backup.

                  Forgotten Password

                  If you forget your password:

                  • Protected notes are irretrievable without the password.
                  • Unprotected notes can be recovered. Follow these steps:
                  -

                  Access the database file in - the data directory. - Open the document.db file with an SQLite client (e.g., DB Browser) - and execute the following queries:

                  UPDATE options SET value = '77/twC5O00cuQgNC63VK32qOKKYwj21ev3jZDXoytVU=' WHERE name = 'passwordVerificationSalt';
                  +        

                  Access the database file in the + data directory. Open the document.db file with an SQLite + client (e.g., DB Browser) and execute + the following queries:

                  UPDATE options SET value = '77/twC5O00cuQgNC63VK32qOKKYwj21ev3jZDXoytVU=' WHERE name = 'passwordVerificationSalt';
                   UPDATE options SET value = '710BMasZCAgibzIc07X4P9Q4TeBd4ONnqJOho+pWcBM=' WHERE name = 'passwordDerivedKeySalt';
                   UPDATE options SET value = 'Eb8af1/T57b89lCRuS97tPEl4CwxsAWAU7YNJ77oY+s=' WHERE name = 'passwordVerificationHash';
                   UPDATE options SET value = 'QpC8XoiYYeqHPtHKRtbNxfTHsk+pEBqVBODYp0FkPBa22tlBBKBMigdLu5GNX8Uu' WHERE name = 'encryptedDataKey';
                  @@ -70,8 +71,8 @@ UPDATE options SET value = 'QpC8XoiYYeqHPtHKRtbNxfTHsk+pEBqVBODYp0FkPBa22tlBBKBM diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Troubleshooting/Anonymized Database.html b/src/public/app/doc_notes/en/User Guide/User Guide/Troubleshooting/Anonymized Database.html index 42f0e33b5..c25b0a682 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Troubleshooting/Anonymized Database.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Troubleshooting/Anonymized Database.html @@ -17,7 +17,7 @@

                  In certain scenarios, understanding the structure of a database is crucial - for troubleshooting issues. However, sharing your actual database file + for troubleshooting issues. However, sharing your actual database file with personal notes is not advisable. To address this, Trilium offers a feature to anonymize the database. This feature can be accessed via Menu -> Options -> Advanced tab.

                  @@ -27,19 +27,19 @@ metadata, such as modification dates. After anonymization, the database undergoes a vacuuming process to ensure no sensitive data remnants remain in the file. The anonymized database - is saved in the anonymized directory within the data directory, + is saved in the anonymized directory within the data directory, making it safe to share with bug reports.

                  This will create a copy of your document and remove all sensitive data (currently note titles, contents, revisions, history and some of the options, and non-system attributes) while leaving all structure and metadata (e.g. date of last change). After this is done, the database is VACUUMed to make sure there's no stale sensitive data in the document file. The resulting - file is stored in anonymized directory (placed in the data directory). + file is stored in anonymized directory (placed in the data directory). You can safely attach it to a bug report.

                  Command Line Anonymization

                  -

                  If your database is corrupted - to the point where Trilium cannot start, the anonymization process can - still be executed via the command line:

                  node src/anonymize.js
                  +

                  If your database is corrupted to + the point where Trilium cannot start, the anonymization process can still + be executed via the command line:

                  node src/anonymize.js

                  Run this command from the directory containing Trilium's source files, typically found in the resources/app directory for desktop builds.

                  diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Troubleshooting/Error logs.html b/src/public/app/doc_notes/en/User Guide/User Guide/Troubleshooting/Error logs.html index bc7d39fcd..f2c6f03bf 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Troubleshooting/Error logs.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Troubleshooting/Error logs.html @@ -16,8 +16,8 @@

                  It's important to provide all available error logs together with bug reports. This page will show you how to do it.

                  Backend logs

                  -

                  Open data directory, - go to log subdirectory and find the latest log file, e.g. trilium-2022-12-14.log. +

                  Open data directory, go to log subdirectory + and find the latest log file, e.g. trilium-2022-12-14.log. You can attach the whole file to the bug report (preferable) or open it and copy-paste only the last lines / lines you believe are relevant.

                  If you have trouble finding it the log files, there's also an in-app option @@ -49,7 +49,7 @@ support channel.

                  Use this email to also provide anything which could assist in analysing - the bug - e.g. files/images/ZIPs being imported or anonymized database.

                  + the bug - e.g. files/images/ZIPs being imported or anonymized database.

                  Exporting note subtree for reproduction

                  Often times, bugs manifest themselves in specific notes and having them would greatly ease reproduction and fixing.

                  diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Troubleshooting/Synchronization fails with 504.html b/src/public/app/doc_notes/en/User Guide/User Guide/Troubleshooting/Synchronization fails with 504.html index cc73c5995..fcd6a2533 100644 --- a/src/public/app/doc_notes/en/User Guide/User Guide/Troubleshooting/Synchronization fails with 504.html +++ b/src/public/app/doc_notes/en/User Guide/User Guide/Troubleshooting/Synchronization fails with 504.html @@ -23,7 +23,7 @@ proxy_send_timeout 300; proxy_read_timeout 300; send_timeout 300;

                  And restart the server.

                  -

                  See Nginx Proxy Setup for +

                  See Nginx Proxy Setup for more information about the Nginx setup.

                  If it still doesn't work, try increasing the timeout.

                  -

                  This uses the Front-end API to create - a icon in the Launch Bar, +

                  This uses the Front-end API to create + a icon in the Launch Bar, by specifying:

                  • A title
                  • @@ -99,8 +98,8 @@
                    -
                  • Here we identify a note with the label #taskTodoRoot. - This is how the Task Manager showcase +
                  • Here we identify a note with the label #taskTodoRoot. + This is how the Task Manager showcase knows where to place all the different tasks.
                  • Normally this might return a null value if no such note could be identified, but error handling is outside the scope of this example. 
                  • @@ -133,9 +132,8 @@
                    -
                  • Since we know the ID of - the newly created note, all we have to do now is to show this note to the - user.
                  • +
                  • Since we know the ID of the newly + created note, all we have to do now is to show this note to the user.