diff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.json index 3fbecedd7..017f7558f 100644 --- a/docs/User Guide/!!!meta.json +++ b/docs/User Guide/!!!meta.json @@ -6735,6 +6735,13 @@ "value": "Cq5X6iKQop6R", "isInheritable": false, "position": 130 + }, + { + "type": "relation", + "name": "internalLink", + "value": "BlN9DFI679QC", + "isInheritable": false, + "position": 140 } ], "format": "markdown", diff --git a/docs/User Guide/User Guide/Advanced Usage/Attributes.md b/docs/User Guide/User Guide/Advanced Usage/Attributes.md index a5feed5ef..91db7e9b9 100644 --- a/docs/User Guide/User Guide/Advanced Usage/Attributes.md +++ b/docs/User Guide/User Guide/Advanced Usage/Attributes.md @@ -1,24 +1,25 @@ # Attributes +
+ In Trilium, attributes are key-value pairs assigned to notes, providing additional metadata or functionality. There are two primary types of attributes: -1. Labels: Simple key-value text records -2. Relations: Named links to other notes +1. 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. + +2. 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. + These attributes play a crucial role in organizing, categorising, and enhancing the functionality of notes. -
+## Viewing the list of attributes -## Labels +Both the labels and relations for the current note are displayed in the _Owned Attributes_ section 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. -Labels in Trilium 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. - -## Relations - -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. +In the list of attributes, labels are prefixed with the `#` character whereas relations are prefixed with the `~` character. ## Multiplicity diff --git a/docs/User Guide/User Guide/Advanced Usage/Attributes/Attribute Inheritance.md b/docs/User Guide/User Guide/Advanced Usage/Attributes/Attribute Inheritance.md index a96b04b99..361f2bb7f 100644 --- a/docs/User Guide/User Guide/Advanced Usage/Attributes/Attribute Inheritance.md +++ b/docs/User Guide/User Guide/Advanced Usage/Attributes/Attribute Inheritance.md @@ -1,7 +1,7 @@ # Attribute Inheritance Inheritance refers to the process of having a [label](Labels.md) or a [relation](Relations.md) shared across multiple notes, generally in parent-child relations (or anywhere if using templates). -## 1\. Standard Inheritance +## Standard Inheritance In Trilium, attributes can be automatically inherited by child notes if they have the `isInheritable` flag set to `true`. This means the attribute (a key-value pair) is applied to the note and all its descendants. @@ -9,7 +9,7 @@ To make an attribute inheritable, simply use the visual editor for Attributes
-

In Trilium, attributes are key-value pairs assigned to notes, providing - additional metadata or functionality. There are two primary types of attributes:

-
  1. Labels: Simple - key-value text records
  2. -
  3. Relations: - Named links to other notes
  4. -
-

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

-

Labels

-

Labels in Trilium 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.

-

Relations

-

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.

+

In Trilium, attributes are key-value pairs assigned to notes, providing + additional metadata or functionality. There are two primary types of attributes:

+
    +
  1. +

    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.

    +

     

    +
  2. +
  3. +

    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.

    +
  4. +
+

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

+

In the list of attributes, labels are prefixed with the # character + whereas relations are prefixed with the ~ character.

Multiplicity

Attributes in Trilium can be "multi-valued", meaning multiple attributes with the same name can co-exist.

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 9953f7fa3..e98dd9c1f 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 @@ -16,7 +16,7 @@

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

-

1. Standard Inheritance

+

Standard Inheritance

In Trilium, attributes can be automatically inherited by child notes if they have the isInheritable flag set to true. This means the attribute (a key-value pair) is applied to the note and all its @@ -29,7 +29,7 @@

As an example, the archived label can be set to be inheritable, allowing you to hide a whole subtree of notes from searches and other dialogs by applying this label at the top level.

-

2. Copying Inheritance

+

Copying Inheritance

Copying inheritance differs from standard inheritance by using a child: prefix in the attribute name. This prefix causes new child notes to automatically receive specific attributes from the parent note. These attributes are @@ -47,7 +47,7 @@ newly created child notes will inherit the #exampleAttribute label. This can be useful for setting default properties for notes in a specific section.

-

3. Template Inheritance

+

Template Inheritance

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