mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	fix(docs): extra ** for inline code
This commit is contained in:
		| @@ -75,19 +75,19 @@ | |||||||
|                                     "isInheritable": false, |                                     "isInheritable": false, | ||||||
|                                     "position": 20 |                                     "position": 20 | ||||||
|                                 }, |                                 }, | ||||||
|                                 { |  | ||||||
|                                     "type": "relation", |  | ||||||
|                                     "name": "internalLink", |  | ||||||
|                                     "value": "cbkrhQjrkKrh", |  | ||||||
|                                     "isInheritable": false, |  | ||||||
|                                     "position": 30 |  | ||||||
|                                 }, |  | ||||||
|                                 { |                                 { | ||||||
|                                     "type": "label", |                                     "type": "label", | ||||||
|                                     "name": "shareAlias", |                                     "name": "shareAlias", | ||||||
|                                     "value": "desktop-installation", |                                     "value": "desktop-installation", | ||||||
|                                     "isInheritable": false, |                                     "isInheritable": false, | ||||||
|                                     "position": 30 |                                     "position": 30 | ||||||
|  |                                 }, | ||||||
|  |                                 { | ||||||
|  |                                     "type": "relation", | ||||||
|  |                                     "name": "internalLink", | ||||||
|  |                                     "value": "cbkrhQjrkKrh", | ||||||
|  |                                     "isInheritable": false, | ||||||
|  |                                     "position": 40 | ||||||
|                                 } |                                 } | ||||||
|                             ], |                             ], | ||||||
|                             "format": "markdown", |                             "format": "markdown", | ||||||
| @@ -3385,13 +3385,6 @@ | |||||||
|                                     "isInheritable": false, |                                     "isInheritable": false, | ||||||
|                                     "position": 40 |                                     "position": 40 | ||||||
|                                 }, |                                 }, | ||||||
|                                 { |  | ||||||
|                                     "type": "relation", |  | ||||||
|                                     "name": "internalLink", |  | ||||||
|                                     "value": "VbjZvtUek0Ln", |  | ||||||
|                                     "isInheritable": false, |  | ||||||
|                                     "position": 50 |  | ||||||
|                                 }, |  | ||||||
|                                 { |                                 { | ||||||
|                                     "type": "label", |                                     "type": "label", | ||||||
|                                     "name": "shareAlias", |                                     "name": "shareAlias", | ||||||
| @@ -3405,6 +3398,13 @@ | |||||||
|                                     "value": "bx bx-palette", |                                     "value": "bx bx-palette", | ||||||
|                                     "isInheritable": false, |                                     "isInheritable": false, | ||||||
|                                     "position": 60 |                                     "position": 60 | ||||||
|  |                                 }, | ||||||
|  |                                 { | ||||||
|  |                                     "type": "relation", | ||||||
|  |                                     "name": "internalLink", | ||||||
|  |                                     "value": "VbjZvtUek0Ln", | ||||||
|  |                                     "isInheritable": false, | ||||||
|  |                                     "position": 70 | ||||||
|                                 } |                                 } | ||||||
|                             ], |                             ], | ||||||
|                             "format": "markdown", |                             "format": "markdown", | ||||||
| @@ -6878,13 +6878,6 @@ | |||||||
|                             "type": "text", |                             "type": "text", | ||||||
|                             "mime": "text/markdown", |                             "mime": "text/markdown", | ||||||
|                             "attributes": [ |                             "attributes": [ | ||||||
|                                 { |  | ||||||
|                                     "type": "relation", |  | ||||||
|                                     "name": "internalLink", |  | ||||||
|                                     "value": "R7abl2fc6Mxi", |  | ||||||
|                                     "isInheritable": false, |  | ||||||
|                                     "position": 10 |  | ||||||
|                                 }, |  | ||||||
|                                 { |                                 { | ||||||
|                                     "type": "relation", |                                     "type": "relation", | ||||||
|                                     "name": "internalLink", |                                     "name": "internalLink", | ||||||
| @@ -6892,62 +6885,6 @@ | |||||||
|                                     "isInheritable": false, |                                     "isInheritable": false, | ||||||
|                                     "position": 20 |                                     "position": 20 | ||||||
|                                 }, |                                 }, | ||||||
|                                 { |  | ||||||
|                                     "type": "relation", |  | ||||||
|                                     "name": "internalLink", |  | ||||||
|                                     "value": "p9kXRFAkwN4o", |  | ||||||
|                                     "isInheritable": false, |  | ||||||
|                                     "position": 30 |  | ||||||
|                                 }, |  | ||||||
|                                 { |  | ||||||
|                                     "type": "relation", |  | ||||||
|                                     "name": "internalLink", |  | ||||||
|                                     "value": "J5Ex1ZrMbyJ6", |  | ||||||
|                                     "isInheritable": false, |  | ||||||
|                                     "position": 40 |  | ||||||
|                                 }, |  | ||||||
|                                 { |  | ||||||
|                                     "type": "relation", |  | ||||||
|                                     "name": "internalLink", |  | ||||||
|                                     "value": "9sRHySam5fXb", |  | ||||||
|                                     "isInheritable": false, |  | ||||||
|                                     "position": 50 |  | ||||||
|                                 }, |  | ||||||
|                                 { |  | ||||||
|                                     "type": "relation", |  | ||||||
|                                     "name": "internalLink", |  | ||||||
|                                     "value": "u3YFHC9tQlpm", |  | ||||||
|                                     "isInheritable": false, |  | ||||||
|                                     "position": 60 |  | ||||||
|                                 }, |  | ||||||
|                                 { |  | ||||||
|                                     "type": "relation", |  | ||||||
|                                     "name": "internalLink", |  | ||||||
|                                     "value": "R9pX4DGra2Vt", |  | ||||||
|                                     "isInheritable": false, |  | ||||||
|                                     "position": 70 |  | ||||||
|                                 }, |  | ||||||
|                                 { |  | ||||||
|                                     "type": "relation", |  | ||||||
|                                     "name": "internalLink", |  | ||||||
|                                     "value": "47ZrP6FNuoG8", |  | ||||||
|                                     "isInheritable": false, |  | ||||||
|                                     "position": 80 |  | ||||||
|                                 }, |  | ||||||
|                                 { |  | ||||||
|                                     "type": "relation", |  | ||||||
|                                     "name": "internalLink", |  | ||||||
|                                     "value": "OFXdgB2nNk1F", |  | ||||||
|                                     "isInheritable": false, |  | ||||||
|                                     "position": 90 |  | ||||||
|                                 }, |  | ||||||
|                                 { |  | ||||||
|                                     "type": "relation", |  | ||||||
|                                     "name": "internalLink", |  | ||||||
|                                     "value": "bwZpz2ajCEwO", |  | ||||||
|                                     "isInheritable": false, |  | ||||||
|                                     "position": 100 |  | ||||||
|                                 }, |  | ||||||
|                                 { |                                 { | ||||||
|                                     "type": "label", |                                     "type": "label", | ||||||
|                                     "name": "shareAlias", |                                     "name": "shareAlias", | ||||||
| @@ -6961,6 +6898,69 @@ | |||||||
|                                     "value": "bx bx-list-check", |                                     "value": "bx bx-list-check", | ||||||
|                                     "isInheritable": false, |                                     "isInheritable": false, | ||||||
|                                     "position": 110 |                                     "position": 110 | ||||||
|  |                                 }, | ||||||
|  |                                 { | ||||||
|  |                                     "type": "relation", | ||||||
|  |                                     "name": "internalLink", | ||||||
|  |                                     "value": "47ZrP6FNuoG8", | ||||||
|  |                                     "isInheritable": false, | ||||||
|  |                                     "position": 120 | ||||||
|  |                                 }, | ||||||
|  |                                 { | ||||||
|  |                                     "type": "relation", | ||||||
|  |                                     "name": "internalLink", | ||||||
|  |                                     "value": "J5Ex1ZrMbyJ6", | ||||||
|  |                                     "isInheritable": false, | ||||||
|  |                                     "position": 130 | ||||||
|  |                                 }, | ||||||
|  |                                 { | ||||||
|  |                                     "type": "relation", | ||||||
|  |                                     "name": "internalLink", | ||||||
|  |                                     "value": "bwZpz2ajCEwO", | ||||||
|  |                                     "isInheritable": false, | ||||||
|  |                                     "position": 140 | ||||||
|  |                                 }, | ||||||
|  |                                 { | ||||||
|  |                                     "type": "relation", | ||||||
|  |                                     "name": "internalLink", | ||||||
|  |                                     "value": "OFXdgB2nNk1F", | ||||||
|  |                                     "isInheritable": false, | ||||||
|  |                                     "position": 150 | ||||||
|  |                                 }, | ||||||
|  |                                 { | ||||||
|  |                                     "type": "relation", | ||||||
|  |                                     "name": "internalLink", | ||||||
|  |                                     "value": "R9pX4DGra2Vt", | ||||||
|  |                                     "isInheritable": false, | ||||||
|  |                                     "position": 160 | ||||||
|  |                                 }, | ||||||
|  |                                 { | ||||||
|  |                                     "type": "relation", | ||||||
|  |                                     "name": "internalLink", | ||||||
|  |                                     "value": "u3YFHC9tQlpm", | ||||||
|  |                                     "isInheritable": false, | ||||||
|  |                                     "position": 170 | ||||||
|  |                                 }, | ||||||
|  |                                 { | ||||||
|  |                                     "type": "relation", | ||||||
|  |                                     "name": "internalLink", | ||||||
|  |                                     "value": "9sRHySam5fXb", | ||||||
|  |                                     "isInheritable": false, | ||||||
|  |                                     "position": 180 | ||||||
|  |                                 }, | ||||||
|  |                                 { | ||||||
|  |                                     "type": "relation", | ||||||
|  |                                     "name": "internalLink", | ||||||
|  |                                     "value": "p9kXRFAkwN4o", | ||||||
|  |                                     "isInheritable": false, | ||||||
|  |                                     "position": 190 | ||||||
|  |                                 }, | ||||||
|  |                                 { | ||||||
|  |                                     "type": "relation", | ||||||
|  |                                     "name": "internalLink", | ||||||
|  |                                     "value": "R7abl2fc6Mxi", | ||||||
|  |                                     "isInheritable": false, | ||||||
|  |                                     "position": 200 | ||||||
|                                 } |                                 } | ||||||
|                             ], |                             ], | ||||||
|                             "format": "markdown", |                             "format": "markdown", | ||||||
|   | |||||||
| @@ -14,46 +14,46 @@ Labels in Trilium can be used for a variety of purposes: | |||||||
|  |  | ||||||
| *   **Metadata**: Assign labels with optional values for categorization, such as `#year=1999`, `#genre="sci-fi"`, or `#author="Neal Stephenson"` | *   **Metadata**: Assign labels with optional values for categorization, such as `#year=1999`, `#genre="sci-fi"`, or `#author="Neal Stephenson"` | ||||||
| *   **Configuration**: Labels can configure advanced features or settings | *   **Configuration**: Labels can configure advanced features or settings | ||||||
| *   **Scripts and Plugins**: Used to tag notes with special metadata, such as the "weight" attribute in the [Weight Tracker](Advanced%20Showcases/Weight%20Tracker.md) | *   **Scripts and Plugins**: Used to tag notes with special metadata, such as the "weight" attribute in the <a class="reference-link" href="Advanced%20Showcases/Weight%20Tracker.md">Weight Tracker</a>. | ||||||
|  |  | ||||||
| Labels are also searchable, enhancing note retrieval. | Labels are also searchable, enhancing note retrieval. | ||||||
|  |  | ||||||
| ### Common Labels for Advanced Configuration | ### Common Labels for Advanced Configuration | ||||||
|  |  | ||||||
| *   `**disableVersioning**`: Disables automatic versioning, ideal for large, unimportant notes like script libraries | *   `disableVersioning`: Disables automatic versioning, ideal for large, unimportant notes like script libraries | ||||||
| *   `**versioningLimit**`: Used to limit the number of revisions for a single note | *   `versioningLimit`: Used to limit the number of revisions for a single note | ||||||
| *   `**calendarRoot**`: Marks the note as the root for [day notes](Advanced%20Showcases/Day%20Notes.md). Only one note should carry this label | *   `calendarRoot`: Marks the note as the root for [day notes](Advanced%20Showcases/Day%20Notes.md). Only one note should carry this label | ||||||
| *   `**archived**`: Hides notes from default search results and dialogs | *   `archived`: Hides notes from default search results and dialogs | ||||||
| *   `**excludeFromExport**`: Excludes notes and their subtrees from export operations | *   `excludeFromExport`: Excludes notes and their subtrees from export operations | ||||||
| *   `**run**`: Specifies events to trigger scripts (e.g., `frontendStartup`, `hourly`) | *   `run`: Specifies events to trigger scripts (e.g., `frontendStartup`, `hourly`) | ||||||
| *   `**runAtHour**`: Defines specific hours for scripts to run, used with `#run=hourly` | *   `runAtHour`: Defines specific hours for scripts to run, used with `#run=hourly` | ||||||
| *   `**disableInclusion**`: Prevents a script from being included in parent script executions | *   `disableInclusion`: Prevents a script from being included in parent script executions | ||||||
| *   `**sorted**`: Automatically sorts child notes alphabetically by title | *   `sorted`: Automatically sorts child notes alphabetically by title | ||||||
| *   `**top**`: Keeps the note at the top of its parent's list, useful with `sorted` | *   `top`: Keeps the note at the top of its parent's list, useful with `sorted` | ||||||
| *   `**hidePromotedAttributes**`: Hides certain attributes in the note's display | *   `hidePromotedAttributes`: Hides certain attributes in the note's display | ||||||
| *   `**readOnly**`: Sets the note to read-only mode, applicable to text and code notes | *   `readOnly`: Sets the note to read-only mode, applicable to text and code notes | ||||||
| *   `**autoReadOnlyDisabled**`: Disables automatic read-only mode for large notes | *   `autoReadOnlyDisabled`: Disables automatic read-only mode for large notes | ||||||
| *   `**appCss**`: Marks CSS notes used to modify Trilium’s appearance | *   `appCss`: Marks CSS notes used to modify Trilium’s appearance | ||||||
| *   `**appTheme**`: Marks full CSS themes available in Trilium's options | *   `appTheme`: Marks full CSS themes available in Trilium's options | ||||||
| *   `**cssClass**`: Adds a CSS class to the note's representation in the tree | *   `cssClass`: Adds a CSS class to the note's representation in the tree | ||||||
| *   `**iconClass**`: Adds a CSS class to the note's icon, useful for distinguishing notes visually. See [note icons](../Basic%20Concepts%20and%20Features/Notes/Note%20Icons.md) | *   `iconClass`: Adds a CSS class to the note's icon, useful for distinguishing notes visually. See <a class="reference-link" href="../Basic%20Concepts%20and%20Features/Notes/Note%20Icons.md">Note Icons</a>. | ||||||
| *   `**pageSize**`: Specifies the number of items per page in note listings | *   `pageSize`: Specifies the number of items per page in note listings | ||||||
| *   `**customRequestHandler**` **and** `**customResourceProvider**`: Refer to [Custom request handler](Custom%20Request%20Handler.md) | *   `customRequestHandler` **and** `customResourceProvider`: Refer to <a class="reference-link" href="Custom%20Request%20Handler.md">Custom Request Handler</a> | ||||||
| *   `**widget**`: Marks a note as a custom widget, added to Trilium's component tree | *   `widget`: Marks a note as a custom widget, added to Trilium's component tree | ||||||
| *   `**workspace**` **and related attributes**: See [Workspace](../Basic%20Concepts%20and%20Features/Navigation/Workspace.md) for more details | *   `workspace` **and related attributes**: See <a class="reference-link" href="../Basic%20Concepts%20and%20Features/Navigation/Workspace.md">Workspace</a> for more details | ||||||
| *   `**searchHome**`: Specifies the parent for new search notes | *   `searchHome`: Specifies the parent for new search notes | ||||||
| *   `**inbox**`: Designates a default location for new notes created via the sidebar | *   `inbox`: Designates a default location for new notes created via the sidebar | ||||||
| *   `**sqlConsoleHome**`: Default location for SQL console notes | *   `sqlConsoleHome`: Default location for SQL console notes | ||||||
| *   `**bookmarked**` **and** `**bookmarkFolder**`: See [Bookmarks](../Basic%20Concepts%20and%20Features/Navigation/Bookmarks.md) | *   `bookmarked` **and** `bookmarkFolder`: See <a class="reference-link" href="../Basic%20Concepts%20and%20Features/Navigation/Bookmarks.md">Bookmarks</a> | ||||||
| *   `**shareXXX**`: See [Sharing](Sharing.md) | *   `share:[…]`: See <a class="reference-link" href="Sharing.md">Sharing</a> | ||||||
| *   `**keyboardShortcut**`: Assigns a keyboard shortcut to open the note | *   `keyboardShortcut`: Assigns a keyboard shortcut to open the note | ||||||
| *   `**displayRelations**` **and** `**hideRelations**`: Manages the display of note relations | *   `displayRelations` **and** `hideRelations`: Manages the display of note relations | ||||||
| *   `**titleTemplate**`: See [Default note title](Default%20Note%20Title.md) | *   `titleTemplate`: See <a class="reference-link" href="Default%20Note%20Title.md">Default Note Title</a> | ||||||
| *   `**template**`: Makes the note available as a template | *   `template`: Makes the note available as a template | ||||||
| *   `**toc**`: Controls the visibility of the table of contents | *   `toc`: Controls the visibility of the table of contents | ||||||
| *   `**color**`: Defines the color of the note in the tree and links | *   `color`: Defines the color of the note in the tree and links | ||||||
| *   `**hideChildrenOverview**`: Hides child notes in the parent note's editor | *   `hideChildrenOverview`: Hides child notes in the parent note's editor | ||||||
| *   `**viewType**`: Sets the view of child notes (grid or list) | *   `viewType`: Sets the view of child notes (grid or list) | ||||||
|  |  | ||||||
| ## Relations | ## Relations | ||||||
|  |  | ||||||
| @@ -75,8 +75,8 @@ Attributes in Trilium can be "multivalued", meaning multiple attributes with the | |||||||
|  |  | ||||||
| ## Attribute Definitions and Promoted Attributes | ## Attribute Definitions and Promoted Attributes | ||||||
|  |  | ||||||
| Special labels create "label/attribute" definitions, enhancing the organization and management of attributes. For more details, see [Promoted attributes](Attributes/Promoted%20Attributes.md). | Special labels create "label/attribute" definitions, enhancing the organization and management of attributes. For more details, see <a class="reference-link" href="Attributes/Promoted%20Attributes.md">Promoted Attributes</a>. | ||||||
|  |  | ||||||
| ## Attribute Inheritance | ## Attribute Inheritance | ||||||
|  |  | ||||||
| Trilium supports attribute inheritance, allowing child notes to inherit attributes from their parents. For more information, see [Attribute inheritance](Attributes/Attribute%20Inheritance.md). | Trilium supports attribute inheritance, allowing child notes to inherit attributes from their parents. For more information, see <a class="reference-link" href="Attributes/Attribute%20Inheritance.md">Attribute Inheritance</a>. | ||||||
| @@ -10,7 +10,7 @@ Trilium comes with a couple pre-installed color themes, with the default being a | |||||||
| Trilium supports custom user themes, allowing you to personalize the application's appearance. To create a custom theme, follow these steps: | 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](../Note%20Types/Code.md) with the `CSS` type. | 1.  **Create a CSS Code Note**: Start by creating a new [code note](../Note%20Types/Code.md) with the `CSS` type. | ||||||
| 2.  **Annotate with** `**#appTheme**`: Add the [attribute](../Advanced%20Usage/Attributes.md) `#appTheme=my-theme-name` to your note, where `my-theme-name` is the name of your custom theme. | 2.  **Annotate with** `#appTheme`: Add the [attribute](../Advanced%20Usage/Attributes.md) `#appTheme=my-theme-name` to your note, where `my-theme-name` is the name of your custom theme. | ||||||
| 3.  **Define Your Styles**: Write your custom CSS within the note. Below is an example of a custom theme: | 3.  **Define Your Styles**: Write your custom CSS within the note. Below is an example of a custom theme: | ||||||
|  |  | ||||||
| ``` | ``` | ||||||
| @@ -96,7 +96,7 @@ In addition to full themes, Trilium allows for custom CSS that isn't tied to a t | |||||||
| To use custom CSS: | To use custom CSS: | ||||||
|  |  | ||||||
| 1.  **Create a CSS Code Note**: Create a new [code note](../Note%20Types/Code.md) with the `CSS` type. | 1.  **Create a CSS Code Note**: Create a new [code note](../Note%20Types/Code.md) with the `CSS` type. | ||||||
| 2.  **Add the** `**appCss**` **Label**: Annotate the note with the `#appCss` [label](../Advanced%20Usage/Attributes.md). | 2.  **Add the** `appCss` **Label**: Annotate the note with the `#appCss` [label](../Advanced%20Usage/Attributes.md). | ||||||
| 3.  **Write Your CSS**: Add your custom CSS rules to the note. | 3.  **Write Your CSS**: Add your custom CSS rules to the note. | ||||||
|  |  | ||||||
| For example: | For example: | ||||||
| @@ -118,14 +118,14 @@ After making changes, press <kbd>Ctrl</kbd> + <kbd>R</kbd> to reload the fronten | |||||||
|  |  | ||||||
| To apply specific styles to certain notes in the tree: | To apply specific styles to certain notes in the tree: | ||||||
|  |  | ||||||
| *   **Use the** `**cssClass**` **Attribute**: Add the `cssClass` [attribute](../Advanced%20Usage/Attributes.md) to a note, and assign it a value representing the desired CSS class. | *   **Use the** `cssClass` **Attribute**: Add the `cssClass` [attribute](../Advanced%20Usage/Attributes.md) 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 from [Box Icons](https://boxicons.com) or your own custom classes. | *   **Define an** `iconClass`: You can also define a custom icon for a note using the `iconClass` attribute, selecting from [Box Icons](https://boxicons.com) or your own custom classes. | ||||||
|  |  | ||||||
| For example, if you want to style notes of a specific type, such as notes containing PNG images, you can target them with classes like `type-image mime-image-png`. | For example, if you want to style notes of a specific type, such as notes containing PNG images, you can target them with classes like `type-image mime-image-png`. | ||||||
|  |  | ||||||
| ### User-Provided Themes | ### 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, visit the [Theme Gallery](Themes/Theme%20Gallery.md). | A gallery of user-created themes is available, showcasing the variety of customizations that the Trilium community has developed. For more information, check the <a class="reference-link" href="Themes/Theme%20Gallery.md">Theme Gallery</a>. | ||||||
|  |  | ||||||
| ### Asset Path Management | ### Asset Path Management | ||||||
|  |  | ||||||
|   | |||||||
| @@ -5,25 +5,7 @@ These are user-created themes which were made publicly available: | |||||||
|  |  | ||||||
| These themes may or may not be compatible with the latest versions of TriliumNext and are based on the original/legacy theme. | These themes may or may not be compatible with the latest versions of TriliumNext and are based on the original/legacy theme. | ||||||
|  |  | ||||||
| | Theme | Author | | <figure class="table"><table><thead><tr><th>Theme</th><th>Author</th></tr></thead><tbody><tr><td><a href="https://github.com/tobealive/trilium-midnight-theme">Midnight</a></td><td><a href="https://github.com/tobealive">tobealive</a></td></tr><tr><td><a href="https://github.com/tobealive/trilum-eote-theme">EOTE</a></td><td><a href="https://github.com/tobealive">tobealive</a></td></tr><tr><td><a href="https://github.com/Abourass/TriliumThemes">Trilium Themes</a></td><td><a href="https://github.com/Abourass">Abourass</a></td></tr><tr><td><a href="https://github.com/ZMonk91/Material-Dark-Trilium">MaterialDark</a></td><td><a href="https://github.com/ZMonk91">ZMonk91</a></td></tr><tr><td><a href="https://github.com/jaroet/trilium-theme-lightslategray">lightslategray</a></td><td><a href="https://github.com/jaroet">jaroet</a></td></tr><tr><td><a href="https://github.com/raphwriter/trilium-theme-melon">melon-4</a></td><td><a href="https://github.com/raphwriter">raphwriter</a></td></tr><tr><td><a href="https://github.com/Engr-AllanG/trilium-themes">Neon_Dark</a></td><td><a href="https://github.com/Engr-AllanG">Engr-AllanG</a></td></tr><tr><td><a href="https://github.com/Engr-AllanG/trilium-themes">Coder_Dark</a></td><td><a href="https://github.com/Engr-AllanG">Engr-AllanG</a></td></tr><tr><td><a href="https://github.com/idelem/trilium-theme-velvet">velvet</a></td><td><a href="https://github.com/idelem">idelem</a></td></tr><tr><td><a href="https://github.com/SADAVA/trilium-notes-theme-dark-plus">Dark Plus</a></td><td><a href="https://github.com/SADAVA">SADAVA</a></td></tr><tr><td><a href="https://github.com/WKSu/trilium-solarized-theme">Solarized</a></td><td><a href="https://github.com/WKSu">WKSu</a></td></tr><tr><td><a href="https://github.com/en3r0/Trilium-Nord-Theme">Nord</a></td><td><a href="https://github.com/en3r0">en3r0</a></td></tr><tr><td><a href="https://github.com/AllanZyne/trilium-bear-theme">Bear Note Light</a></td><td><a href="https://github.com/AllanZyne">AllanZyne</a></td></tr><tr><td><a href="https://github.com/AllanZyne/trilium-bear-theme">Bear Note Dark</a></td><td><a href="https://github.com/AllanZyne">AllanZyne</a></td></tr><tr><td><a href="https://github.com/Sebiann/miku-hatsune-trilium-theme">Miku Hatsune</a></td><td><a href="https://github.com/Sebiann">Sebiann</a></td></tr><tr><td><a href="https://github.com/cwilliams5/Midnight-Trilium-Dark-Mode">Midnight</a></td><td><a href="https://github.com/cwilliams5">cwilliams5</a></td></tr><tr><td><a href="https://github.com/SiriusXT/trilium-theme-blue">Blue</a> (light)</td><td><a href="https://github.com/SiriusXT">SiriusXT</a></td></tr><tr><td><a href="https://github.com/SiriusXT/trilium-theme-blue">Blue</a> (dark)</td><td><a href="https://github.com/SiriusXT">SiriusXT</a></td></tr></tbody></table></figure> | ||||||
| | --- | --- | |  | ||||||
| | [Midnight](https://github.com/tobealive/trilium-midnight-theme) | [tobealive](https://github.com/tobealive) | |  | ||||||
| | [EOTE](https://github.com/tobealive/trilum-eote-theme) | [tobealive](https://github.com/tobealive) | |  | ||||||
| | [Trilium Themes](https://github.com/Abourass/TriliumThemes) | [Abourass](https://github.com/Abourass) | |  | ||||||
| | [MaterialDark](https://github.com/ZMonk91/Material-Dark-Trilium) | [ZMonk91](https://github.com/ZMonk91) | |  | ||||||
| | [lightslategray](https://github.com/jaroet/trilium-theme-lightslategray) | [jaroet](https://github.com/jaroet) | |  | ||||||
| | [melon-4](https://github.com/raphwriter/trilium-theme-melon) | [raphwriter](https://github.com/raphwriter) | |  | ||||||
| | [Neon\_Dark](https://github.com/Engr-AllanG/trilium-themes) | [Engr-AllanG](https://github.com/Engr-AllanG) | |  | ||||||
| | [Coder\_Dark](https://github.com/Engr-AllanG/trilium-themes) | [Engr-AllanG](https://github.com/Engr-AllanG) | |  | ||||||
| | [velvet](https://github.com/idelem/trilium-theme-velvet) | [idelem](https://github.com/idelem) | |  | ||||||
| | [Dark Plus](https://github.com/SADAVA/trilium-notes-theme-dark-plus) | [SADAVA](https://github.com/SADAVA) | |  | ||||||
| | [Solarized](https://github.com/WKSu/trilium-solarized-theme) | [WKSu](https://github.com/WKSu) | |  | ||||||
| | [Nord](https://github.com/en3r0/Trilium-Nord-Theme) | [en3r0](https://github.com/en3r0) | |  | ||||||
| | [Bear Note Light](https://github.com/AllanZyne/trilium-bear-theme) | [AllanZyne](https://github.com/AllanZyne) | |  | ||||||
| | [Bear Note Dark](https://github.com/AllanZyne/trilium-bear-theme) | [AllanZyne](https://github.com/AllanZyne) | |  | ||||||
| | [Miku Hatsune](https://github.com/Sebiann/miku-hatsune-trilium-theme) | [Sebiann](https://github.com/Sebiann) | |  | ||||||
| | [Midnight](https://github.com/cwilliams5/Midnight-Trilium-Dark-Mode) | [cwilliams5](https://github.com/cwilliams5) | |  | ||||||
| | [Blue](https://github.com/SiriusXT/trilium-theme-blue) (light) | [SiriusXT](https://github.com/SiriusXT) | |  | ||||||
| | [Blue](https://github.com/SiriusXT/trilium-theme-blue) (dark) | [SiriusXT](https://github.com/SiriusXT) | |  | ||||||
|  |  | ||||||
| If you would like to add your theme to this gallery, write a new post in [👐 Show and tell](https://github.com/TriliumNext/Notes/discussions/categories/show-and-tell). | > [!TIP] | ||||||
|  | > If you would like to add your theme to this gallery, write a new post in [👐 Show and tell](https://github.com/TriliumNext/Notes/discussions/categories/show-and-tell). | ||||||
| @@ -9,11 +9,11 @@ To install Trilium on your desktop, follow these steps: | |||||||
|  |  | ||||||
| Trilium offers various startup scripts to customize your experience: | Trilium offers various startup scripts to customize your experience: | ||||||
|  |  | ||||||
| *   `**trilium-no-cert-check**`: Starts Trilium without validating [TLS certificates](Server%20Installation/TLS%20Configuration.md), useful if connecting to a server with a self-signed certificate. | *   `trilium-no-cert-check`: Starts Trilium without validating [TLS certificates](Server%20Installation/TLS%20Configuration.md), useful if connecting to a server with a self-signed certificate. | ||||||
|     *   Alternatively, set the `NODE_TLS_REJECT_UNAUTHORIZED=0` environment variable before starting Trilium. |     *   Alternatively, set the `NODE_TLS_REJECT_UNAUTHORIZED=0` environment variable before starting Trilium. | ||||||
| *   `**trilium-portable**`: Launches Trilium in portable mode, where the [data directory](Data%20directory.md) is created within the application's directory, making it easy to move the entire setup. | *   `trilium-portable`: Launches Trilium in portable mode, where the [data directory](Data%20directory.md) 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. | *   `trilium-safe-mode`: Boots Trilium in "safe mode," disabling any startup scripts that might cause the application to crash. | ||||||
|  |  | ||||||
| ## Synchronization | ## Synchronization | ||||||
|  |  | ||||||
| For Trilium desktp users who wish to synchronize their data with a server instance, refer to the [Synchronization Guide](Synchronization.md) for detailed instructions. | For Trilium desktp users who wish to synchronize their data with a server instance, refer to the <a class="reference-link" href="Synchronization.md">Synchronization</a> guide for detailed instructions. | ||||||
| @@ -27,7 +27,7 @@ sudo apt install libpng16-16 libpng-dev pkg-config autoconf libtool build-essent | |||||||
|  |  | ||||||
| You can either download source code zip/tar from [https://github.com/TriliumNext/Notes/releases/latest](https://github.com/TriliumNext/Notes/releases/latest). | You can either download source code zip/tar from [https://github.com/TriliumNext/Notes/releases/latest](https://github.com/TriliumNext/Notes/releases/latest). | ||||||
|  |  | ||||||
| For the latest version including betas, clone Git repository **from** `**master**` **branch** with: | For the latest version including betas, clone Git repository **from** `master` **branch** with: | ||||||
|  |  | ||||||
| ``` | ``` | ||||||
| git clone -b master https://github.com/triliumnext/notes.git | git clone -b master https://github.com/triliumnext/notes.git | ||||||
|   | |||||||
| @@ -10,7 +10,7 @@ Positions are: | |||||||
|  |  | ||||||
| ## Example - word count widget | ## Example - word count widget | ||||||
|  |  | ||||||
| Create a code note of type JS frontend and **give it a** `**#widget**` **label**. | Create a code note of type JS frontend and **give it a** `#widget` **label**. | ||||||
|  |  | ||||||
| ``` | ``` | ||||||
| /* | /* | ||||||
|   | |||||||
							
								
								
									
										154
									
								
								src/public/app/doc_notes/en/User Guide/!!!meta.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										154
									
								
								src/public/app/doc_notes/en/User Guide/!!!meta.json
									
									
									
										generated
									
									
									
								
							| @@ -75,19 +75,19 @@ | |||||||
|                                     "isInheritable": false, |                                     "isInheritable": false, | ||||||
|                                     "position": 20 |                                     "position": 20 | ||||||
|                                 }, |                                 }, | ||||||
|                                 { |  | ||||||
|                                     "type": "relation", |  | ||||||
|                                     "name": "internalLink", |  | ||||||
|                                     "value": "cbkrhQjrkKrh", |  | ||||||
|                                     "isInheritable": false, |  | ||||||
|                                     "position": 30 |  | ||||||
|                                 }, |  | ||||||
|                                 { |                                 { | ||||||
|                                     "type": "label", |                                     "type": "label", | ||||||
|                                     "name": "shareAlias", |                                     "name": "shareAlias", | ||||||
|                                     "value": "desktop-installation", |                                     "value": "desktop-installation", | ||||||
|                                     "isInheritable": false, |                                     "isInheritable": false, | ||||||
|                                     "position": 30 |                                     "position": 30 | ||||||
|  |                                 }, | ||||||
|  |                                 { | ||||||
|  |                                     "type": "relation", | ||||||
|  |                                     "name": "internalLink", | ||||||
|  |                                     "value": "cbkrhQjrkKrh", | ||||||
|  |                                     "isInheritable": false, | ||||||
|  |                                     "position": 40 | ||||||
|                                 } |                                 } | ||||||
|                             ], |                             ], | ||||||
|                             "format": "html", |                             "format": "html", | ||||||
| @@ -3385,13 +3385,6 @@ | |||||||
|                                     "isInheritable": false, |                                     "isInheritable": false, | ||||||
|                                     "position": 40 |                                     "position": 40 | ||||||
|                                 }, |                                 }, | ||||||
|                                 { |  | ||||||
|                                     "type": "relation", |  | ||||||
|                                     "name": "internalLink", |  | ||||||
|                                     "value": "VbjZvtUek0Ln", |  | ||||||
|                                     "isInheritable": false, |  | ||||||
|                                     "position": 50 |  | ||||||
|                                 }, |  | ||||||
|                                 { |                                 { | ||||||
|                                     "type": "label", |                                     "type": "label", | ||||||
|                                     "name": "shareAlias", |                                     "name": "shareAlias", | ||||||
| @@ -3405,6 +3398,13 @@ | |||||||
|                                     "value": "bx bx-palette", |                                     "value": "bx bx-palette", | ||||||
|                                     "isInheritable": false, |                                     "isInheritable": false, | ||||||
|                                     "position": 60 |                                     "position": 60 | ||||||
|  |                                 }, | ||||||
|  |                                 { | ||||||
|  |                                     "type": "relation", | ||||||
|  |                                     "name": "internalLink", | ||||||
|  |                                     "value": "VbjZvtUek0Ln", | ||||||
|  |                                     "isInheritable": false, | ||||||
|  |                                     "position": 70 | ||||||
|                                 } |                                 } | ||||||
|                             ], |                             ], | ||||||
|                             "format": "html", |                             "format": "html", | ||||||
| @@ -6878,13 +6878,6 @@ | |||||||
|                             "type": "text", |                             "type": "text", | ||||||
|                             "mime": "text/markdown", |                             "mime": "text/markdown", | ||||||
|                             "attributes": [ |                             "attributes": [ | ||||||
|                                 { |  | ||||||
|                                     "type": "relation", |  | ||||||
|                                     "name": "internalLink", |  | ||||||
|                                     "value": "R7abl2fc6Mxi", |  | ||||||
|                                     "isInheritable": false, |  | ||||||
|                                     "position": 10 |  | ||||||
|                                 }, |  | ||||||
|                                 { |                                 { | ||||||
|                                     "type": "relation", |                                     "type": "relation", | ||||||
|                                     "name": "internalLink", |                                     "name": "internalLink", | ||||||
| @@ -6892,62 +6885,6 @@ | |||||||
|                                     "isInheritable": false, |                                     "isInheritable": false, | ||||||
|                                     "position": 20 |                                     "position": 20 | ||||||
|                                 }, |                                 }, | ||||||
|                                 { |  | ||||||
|                                     "type": "relation", |  | ||||||
|                                     "name": "internalLink", |  | ||||||
|                                     "value": "p9kXRFAkwN4o", |  | ||||||
|                                     "isInheritable": false, |  | ||||||
|                                     "position": 30 |  | ||||||
|                                 }, |  | ||||||
|                                 { |  | ||||||
|                                     "type": "relation", |  | ||||||
|                                     "name": "internalLink", |  | ||||||
|                                     "value": "J5Ex1ZrMbyJ6", |  | ||||||
|                                     "isInheritable": false, |  | ||||||
|                                     "position": 40 |  | ||||||
|                                 }, |  | ||||||
|                                 { |  | ||||||
|                                     "type": "relation", |  | ||||||
|                                     "name": "internalLink", |  | ||||||
|                                     "value": "9sRHySam5fXb", |  | ||||||
|                                     "isInheritable": false, |  | ||||||
|                                     "position": 50 |  | ||||||
|                                 }, |  | ||||||
|                                 { |  | ||||||
|                                     "type": "relation", |  | ||||||
|                                     "name": "internalLink", |  | ||||||
|                                     "value": "u3YFHC9tQlpm", |  | ||||||
|                                     "isInheritable": false, |  | ||||||
|                                     "position": 60 |  | ||||||
|                                 }, |  | ||||||
|                                 { |  | ||||||
|                                     "type": "relation", |  | ||||||
|                                     "name": "internalLink", |  | ||||||
|                                     "value": "R9pX4DGra2Vt", |  | ||||||
|                                     "isInheritable": false, |  | ||||||
|                                     "position": 70 |  | ||||||
|                                 }, |  | ||||||
|                                 { |  | ||||||
|                                     "type": "relation", |  | ||||||
|                                     "name": "internalLink", |  | ||||||
|                                     "value": "47ZrP6FNuoG8", |  | ||||||
|                                     "isInheritable": false, |  | ||||||
|                                     "position": 80 |  | ||||||
|                                 }, |  | ||||||
|                                 { |  | ||||||
|                                     "type": "relation", |  | ||||||
|                                     "name": "internalLink", |  | ||||||
|                                     "value": "OFXdgB2nNk1F", |  | ||||||
|                                     "isInheritable": false, |  | ||||||
|                                     "position": 90 |  | ||||||
|                                 }, |  | ||||||
|                                 { |  | ||||||
|                                     "type": "relation", |  | ||||||
|                                     "name": "internalLink", |  | ||||||
|                                     "value": "bwZpz2ajCEwO", |  | ||||||
|                                     "isInheritable": false, |  | ||||||
|                                     "position": 100 |  | ||||||
|                                 }, |  | ||||||
|                                 { |                                 { | ||||||
|                                     "type": "label", |                                     "type": "label", | ||||||
|                                     "name": "shareAlias", |                                     "name": "shareAlias", | ||||||
| @@ -6961,6 +6898,69 @@ | |||||||
|                                     "value": "bx bx-list-check", |                                     "value": "bx bx-list-check", | ||||||
|                                     "isInheritable": false, |                                     "isInheritable": false, | ||||||
|                                     "position": 110 |                                     "position": 110 | ||||||
|  |                                 }, | ||||||
|  |                                 { | ||||||
|  |                                     "type": "relation", | ||||||
|  |                                     "name": "internalLink", | ||||||
|  |                                     "value": "47ZrP6FNuoG8", | ||||||
|  |                                     "isInheritable": false, | ||||||
|  |                                     "position": 120 | ||||||
|  |                                 }, | ||||||
|  |                                 { | ||||||
|  |                                     "type": "relation", | ||||||
|  |                                     "name": "internalLink", | ||||||
|  |                                     "value": "J5Ex1ZrMbyJ6", | ||||||
|  |                                     "isInheritable": false, | ||||||
|  |                                     "position": 130 | ||||||
|  |                                 }, | ||||||
|  |                                 { | ||||||
|  |                                     "type": "relation", | ||||||
|  |                                     "name": "internalLink", | ||||||
|  |                                     "value": "bwZpz2ajCEwO", | ||||||
|  |                                     "isInheritable": false, | ||||||
|  |                                     "position": 140 | ||||||
|  |                                 }, | ||||||
|  |                                 { | ||||||
|  |                                     "type": "relation", | ||||||
|  |                                     "name": "internalLink", | ||||||
|  |                                     "value": "OFXdgB2nNk1F", | ||||||
|  |                                     "isInheritable": false, | ||||||
|  |                                     "position": 150 | ||||||
|  |                                 }, | ||||||
|  |                                 { | ||||||
|  |                                     "type": "relation", | ||||||
|  |                                     "name": "internalLink", | ||||||
|  |                                     "value": "R9pX4DGra2Vt", | ||||||
|  |                                     "isInheritable": false, | ||||||
|  |                                     "position": 160 | ||||||
|  |                                 }, | ||||||
|  |                                 { | ||||||
|  |                                     "type": "relation", | ||||||
|  |                                     "name": "internalLink", | ||||||
|  |                                     "value": "u3YFHC9tQlpm", | ||||||
|  |                                     "isInheritable": false, | ||||||
|  |                                     "position": 170 | ||||||
|  |                                 }, | ||||||
|  |                                 { | ||||||
|  |                                     "type": "relation", | ||||||
|  |                                     "name": "internalLink", | ||||||
|  |                                     "value": "9sRHySam5fXb", | ||||||
|  |                                     "isInheritable": false, | ||||||
|  |                                     "position": 180 | ||||||
|  |                                 }, | ||||||
|  |                                 { | ||||||
|  |                                     "type": "relation", | ||||||
|  |                                     "name": "internalLink", | ||||||
|  |                                     "value": "p9kXRFAkwN4o", | ||||||
|  |                                     "isInheritable": false, | ||||||
|  |                                     "position": 190 | ||||||
|  |                                 }, | ||||||
|  |                                 { | ||||||
|  |                                     "type": "relation", | ||||||
|  |                                     "name": "internalLink", | ||||||
|  |                                     "value": "R7abl2fc6Mxi", | ||||||
|  |                                     "isInheritable": false, | ||||||
|  |                                     "position": 200 | ||||||
|                                 } |                                 } | ||||||
|                             ], |                             ], | ||||||
|                             "format": "html", |                             "format": "html", | ||||||
|   | |||||||
| @@ -33,79 +33,74 @@ | |||||||
|           <li><strong>Configuration</strong>: Labels can configure advanced features |           <li><strong>Configuration</strong>: Labels can configure advanced features | ||||||
|             or settings</li> |             or settings</li> | ||||||
|           <li><strong>Scripts and Plugins</strong>: Used to tag notes with special metadata, |           <li><strong>Scripts and Plugins</strong>: Used to tag notes with special metadata, | ||||||
|             such as the "weight" attribute in the <a href="Advanced%20Showcases/Weight%20Tracker.html">Weight Tracker</a> |             such as the "weight" attribute in the <a class="reference-link" href="Advanced%20Showcases/Weight%20Tracker.html">Weight Tracker</a>.</li> | ||||||
|           </li> |  | ||||||
|         </ul> |         </ul> | ||||||
|         <p>Labels are also searchable, enhancing note retrieval.</p> |         <p>Labels are also searchable, enhancing note retrieval.</p> | ||||||
|         <h3>Common Labels for Advanced Configuration</h3> |         <h3>Common Labels for Advanced Configuration</h3> | ||||||
|         <ul> |         <ul> | ||||||
|           <li><code>**disableVersioning**</code>: Disables automatic versioning, ideal |           <li><code>disableVersioning</code>: Disables automatic versioning, ideal for | ||||||
|             for large, unimportant notes like script libraries</li> |             large, unimportant notes like script libraries</li> | ||||||
|           <li><code>**versioningLimit**</code>: Used to limit the number of revisions |           <li><code>versioningLimit</code>: Used to limit the number of revisions for | ||||||
|             for a single note</li> |             a single note</li> | ||||||
|           <li><code>**calendarRoot**</code>: Marks the note as the root for <a href="Advanced%20Showcases/Day%20Notes.html">day notes</a>. |           <li><code>calendarRoot</code>: Marks the note as the root for <a href="Advanced%20Showcases/Day%20Notes.html">day notes</a>. | ||||||
|             Only one note should carry this label</li> |             Only one note should carry this label</li> | ||||||
|           <li><code>**archived**</code>: Hides notes from default search results and |           <li><code>archived</code>: Hides notes from default search results and dialogs</li> | ||||||
|             dialogs</li> |           <li><code>excludeFromExport</code>: Excludes notes and their subtrees from | ||||||
|           <li><code>**excludeFromExport**</code>: Excludes notes and their subtrees |             export operations</li> | ||||||
|             from export operations</li> |           <li><code>run</code>: Specifies events to trigger scripts (e.g., <code>frontendStartup</code>, <code>hourly</code>)</li> | ||||||
|           <li><code>**run**</code>: Specifies events to trigger scripts (e.g., <code>frontendStartup</code>, <code>hourly</code>)</li> |           <li><code>runAtHour</code>: Defines specific hours for scripts to run, used | ||||||
|           <li><code>**runAtHour**</code>: Defines specific hours for scripts to run, |             with <code>#run=hourly</code> | ||||||
|             used with <code>#run=hourly</code> |  | ||||||
|           </li> |           </li> | ||||||
|           <li><code>**disableInclusion**</code>: Prevents a script from being included |           <li><code>disableInclusion</code>: Prevents a script from being included in | ||||||
|             in parent script executions</li> |             parent script executions</li> | ||||||
|           <li><code>**sorted**</code>: Automatically sorts child notes alphabetically |           <li><code>sorted</code>: Automatically sorts child notes alphabetically by | ||||||
|             by title</li> |             title</li> | ||||||
|           <li><code>**top**</code>: Keeps the note at the top of its parent's list, |           <li><code>top</code>: Keeps the note at the top of its parent's list, useful | ||||||
|             useful with <code>sorted</code> |             with <code>sorted</code> | ||||||
|           </li> |           </li> | ||||||
|           <li><code>**hidePromotedAttributes**</code>: Hides certain attributes in the |           <li><code>hidePromotedAttributes</code>: Hides certain attributes in the note's | ||||||
|             note's display</li> |             display</li> | ||||||
|           <li><code>**readOnly**</code>: Sets the note to read-only mode, applicable |           <li><code>readOnly</code>: Sets the note to read-only mode, applicable to | ||||||
|             to text and code notes</li> |             text and code notes</li> | ||||||
|           <li><code>**autoReadOnlyDisabled**</code>: Disables automatic read-only mode |           <li><code>autoReadOnlyDisabled</code>: Disables automatic read-only mode for | ||||||
|             for large notes</li> |             large notes</li> | ||||||
|           <li><code>**appCss**</code>: Marks CSS notes used to modify Trilium’s appearance</li> |           <li><code>appCss</code>: Marks CSS notes used to modify Trilium’s appearance</li> | ||||||
|           <li><code>**appTheme**</code>: Marks full CSS themes available in Trilium's |           <li><code>appTheme</code>: Marks full CSS themes available in Trilium's options</li> | ||||||
|             options</li> |           <li><code>cssClass</code>: Adds a CSS class to the note's representation in | ||||||
|           <li><code>**cssClass**</code>: Adds a CSS class to the note's representation |             the tree</li> | ||||||
|             in the tree</li> |           <li><code>iconClass</code>: Adds a CSS class to the note's icon, useful for | ||||||
|           <li><code>**iconClass**</code>: Adds a CSS class to the note's icon, useful |             distinguishing notes visually. See <a class="reference-link" href="../Basic%20Concepts%20and%20Features/Notes/Note%20Icons.html">Note Icons</a>.</li> | ||||||
|             for distinguishing notes visually. See <a href="../Basic%20Concepts%20and%20Features/Notes/Note%20Icons.html">note icons</a> |           <li><code>pageSize</code>: Specifies the number of items per page in note | ||||||
|           </li> |  | ||||||
|           <li><code>**pageSize**</code>: Specifies the number of items per page in note |  | ||||||
|             listings</li> |             listings</li> | ||||||
|           <li><code>**customRequestHandler**</code>  <strong>and</strong>  <code>**customResourceProvider**</code>: |           <li><code>customRequestHandler</code>  <strong>and</strong>  <code>customResourceProvider</code>: | ||||||
|             Refer to <a href="Custom%20Request%20Handler.html">Custom request handler</a> |             Refer to <a class="reference-link" href="Custom%20Request%20Handler.html">Custom Request Handler</a> | ||||||
|           </li> |           </li> | ||||||
|           <li><code>**widget**</code>: Marks a note as a custom widget, added to Trilium's |           <li><code>widget</code>: Marks a note as a custom widget, added to Trilium's | ||||||
|             component tree</li> |             component tree</li> | ||||||
|           <li><code>**workspace**</code>  <strong>and related attributes</strong>: See |           <li><code>workspace</code>  <strong>and related attributes</strong>: See  | ||||||
|             <a |             <a | ||||||
|             href="../Basic%20Concepts%20and%20Features/Navigation/Workspace.html">Workspace</a>for more details</li> |             class="reference-link" href="../Basic%20Concepts%20and%20Features/Navigation/Workspace.html">Workspace</a> for more details</li> | ||||||
|           <li><code>**searchHome**</code>: Specifies the parent for new search notes</li> |           <li><code>searchHome</code>: Specifies the parent for new search notes</li> | ||||||
|           <li><code>**inbox**</code>: Designates a default location for new notes created |           <li><code>inbox</code>: Designates a default location for new notes created | ||||||
|             via the sidebar</li> |             via the sidebar</li> | ||||||
|           <li><code>**sqlConsoleHome**</code>: Default location for SQL console notes</li> |           <li><code>sqlConsoleHome</code>: Default location for SQL console notes</li> | ||||||
|           <li><code>**bookmarked**</code>  <strong>and</strong>  <code>**bookmarkFolder**</code>: |           <li><code>bookmarked</code>  <strong>and</strong>  <code>bookmarkFolder</code>: | ||||||
|             See <a href="../Basic%20Concepts%20and%20Features/Navigation/Bookmarks.html">Bookmarks</a> |             See <a class="reference-link" href="../Basic%20Concepts%20and%20Features/Navigation/Bookmarks.html">Bookmarks</a> | ||||||
|           </li> |           </li> | ||||||
|           <li><code>**shareXXX**</code>: See <a href="Sharing.html">Sharing</a> |           <li><code>share:[…]</code>: See <a class="reference-link" href="Sharing.html">Sharing</a> | ||||||
|           </li> |           </li> | ||||||
|           <li><code>**keyboardShortcut**</code>: Assigns a keyboard shortcut to open |           <li><code>keyboardShortcut</code>: Assigns a keyboard shortcut to open the | ||||||
|             the note</li> |             note</li> | ||||||
|           <li><code>**displayRelations**</code>  <strong>and</strong>  <code>**hideRelations**</code>: |           <li><code>displayRelations</code>  <strong>and</strong>  <code>hideRelations</code>: | ||||||
|             Manages the display of note relations</li> |             Manages the display of note relations</li> | ||||||
|           <li><code>**titleTemplate**</code>: See <a href="Default%20Note%20Title.html">Default note title</a> |           <li><code>titleTemplate</code>: See <a class="reference-link" href="Default%20Note%20Title.html">Default Note Title</a> | ||||||
|           </li> |           </li> | ||||||
|           <li><code>**template**</code>: Makes the note available as a template</li> |           <li><code>template</code>: Makes the note available as a template</li> | ||||||
|           <li><code>**toc**</code>: Controls the visibility of the table of contents</li> |           <li><code>toc</code>: Controls the visibility of the table of contents</li> | ||||||
|           <li><code>**color**</code>: Defines the color of the note in the tree and |           <li><code>color</code>: Defines the color of the note in the tree and links</li> | ||||||
|             links</li> |           <li><code>hideChildrenOverview</code>: Hides child notes in the parent note's | ||||||
|           <li><code>**hideChildrenOverview**</code>: Hides child notes in the parent |             editor</li> | ||||||
|             note's editor</li> |           <li><code>viewType</code>: Sets the view of child notes (grid or list)</li> | ||||||
|           <li><code>**viewType**</code>: Sets the view of child notes (grid or list)</li> |  | ||||||
|         </ul> |         </ul> | ||||||
|         <h2>Relations</h2> |         <h2>Relations</h2> | ||||||
|         <p>Relations define connections between notes, similar to links.</p> |         <p>Relations define connections between notes, similar to links.</p> | ||||||
| @@ -128,10 +123,12 @@ | |||||||
|           with the same name can coexist.</p> |           with the same name can coexist.</p> | ||||||
|         <h2>Attribute Definitions and Promoted Attributes</h2> |         <h2>Attribute Definitions and Promoted Attributes</h2> | ||||||
|         <p>Special labels create "label/attribute" definitions, enhancing the organization |         <p>Special labels create "label/attribute" definitions, enhancing the organization | ||||||
|           and management of attributes. For more details, see <a href="Attributes/Promoted%20Attributes.html">Promoted attributes</a>.</p> |           and management of attributes. For more details, see <a class="reference-link" | ||||||
|  |           href="Attributes/Promoted%20Attributes.html">Promoted Attributes</a>.</p> | ||||||
|         <h2>Attribute Inheritance</h2> |         <h2>Attribute Inheritance</h2> | ||||||
|         <p>Trilium supports attribute inheritance, allowing child notes to inherit |         <p>Trilium supports attribute inheritance, allowing child notes to inherit | ||||||
|           attributes from their parents. For more information, see <a href="Attributes/Attribute%20Inheritance.html">Attribute inheritance</a>.</p> |           attributes from their parents. For more information, see <a class="reference-link" | ||||||
|  |           href="Attributes/Attribute%20Inheritance.html">Attribute Inheritance</a>.</p> | ||||||
|       </div> |       </div> | ||||||
|     </div> |     </div> | ||||||
|   </body> |   </body> | ||||||
|   | |||||||
| @@ -27,7 +27,7 @@ | |||||||
|         <ol> |         <ol> | ||||||
|           <li><strong>Create a CSS Code Note</strong>: Start by creating a new <a href="../Note%20Types/Code.html">code note</a> with |           <li><strong>Create a CSS Code Note</strong>: Start by creating a new <a href="../Note%20Types/Code.html">code note</a> with | ||||||
|             the <code>CSS</code> type.</li> |             the <code>CSS</code> type.</li> | ||||||
|           <li><strong>Annotate with</strong>  <code>**#appTheme**</code>: Add the <a href="../Advanced%20Usage/Attributes.html">attribute</a>  <code>#appTheme=my-theme-name</code> to |           <li><strong>Annotate with</strong>  <code>#appTheme</code>: Add the <a href="../Advanced%20Usage/Attributes.html">attribute</a>  <code>#appTheme=my-theme-name</code> to | ||||||
|             your note, where <code>my-theme-name</code> is the name of your custom theme.</li> |             your note, where <code>my-theme-name</code> is the name of your custom theme.</li> | ||||||
|           <li><strong>Define Your Styles</strong>: Write your custom CSS within the |           <li><strong>Define Your Styles</strong>: Write your custom CSS within the | ||||||
|             note. Below is an example of a custom theme:</li> |             note. Below is an example of a custom theme:</li> | ||||||
| @@ -113,8 +113,8 @@ body .CodeMirror { | |||||||
|         <ol> |         <ol> | ||||||
|           <li><strong>Create a CSS Code Note</strong>: Create a new <a href="../Note%20Types/Code.html">code note</a> with |           <li><strong>Create a CSS Code Note</strong>: Create a new <a href="../Note%20Types/Code.html">code note</a> with | ||||||
|             the <code>CSS</code> type.</li> |             the <code>CSS</code> type.</li> | ||||||
|           <li><strong>Add the</strong>  <code>**appCss**</code>  <strong>Label</strong>: |           <li><strong>Add the</strong>  <code>appCss</code>  <strong>Label</strong>: Annotate | ||||||
|             Annotate the note with the <code>#appCss</code>  <a href="../Advanced%20Usage/Attributes.html">label</a>.</li> |             the note with the <code>#appCss</code>  <a href="../Advanced%20Usage/Attributes.html">label</a>.</li> | ||||||
|           <li><strong>Write Your CSS</strong>: Add your custom CSS rules to the note.</li> |           <li><strong>Write Your CSS</strong>: Add your custom CSS rules to the note.</li> | ||||||
|         </ol> |         </ol> | ||||||
|         <p>For example:</p><pre><code class="language-text-x-trilium-auto">/* Custom CSS to style specific elements */ |         <p>For example:</p><pre><code class="language-text-x-trilium-auto">/* Custom CSS to style specific elements */ | ||||||
| @@ -131,10 +131,10 @@ body .CodeMirror { | |||||||
|         <h3>Styling Specific Notes in the Tree</h3> |         <h3>Styling Specific Notes in the Tree</h3> | ||||||
|         <p>To apply specific styles to certain notes in the tree:</p> |         <p>To apply specific styles to certain notes in the tree:</p> | ||||||
|         <ul> |         <ul> | ||||||
|           <li><strong>Use the</strong>  <code>**cssClass**</code>  <strong>Attribute</strong>: |           <li><strong>Use the</strong>  <code>cssClass</code>  <strong>Attribute</strong>: | ||||||
|             Add the <code>cssClass</code>  <a href="../Advanced%20Usage/Attributes.html">attribute</a> to |             Add the <code>cssClass</code>  <a href="../Advanced%20Usage/Attributes.html">attribute</a> to | ||||||
|             a note, and assign it a value representing the desired CSS class.</li> |             a note, and assign it a value representing the desired CSS class.</li> | ||||||
|           <li><strong>Define an</strong>  <code>**iconClass**</code>: You can also define |           <li><strong>Define an</strong>  <code>iconClass</code>: You can also define | ||||||
|             a custom icon for a note using the <code>iconClass</code> attribute, selecting |             a custom icon for a note using the <code>iconClass</code> attribute, selecting | ||||||
|             from <a href="https://boxicons.com">Box Icons</a> or your own custom classes.</li> |             from <a href="https://boxicons.com">Box Icons</a> or your own custom classes.</li> | ||||||
|         </ul> |         </ul> | ||||||
| @@ -143,7 +143,7 @@ body .CodeMirror { | |||||||
|         <h3>User-Provided Themes</h3> |         <h3>User-Provided Themes</h3> | ||||||
|         <p>A gallery of user-created themes is available, showcasing the variety |         <p>A gallery of user-created themes is available, showcasing the variety | ||||||
|           of customizations that the Trilium community has developed. For more information, |           of customizations that the Trilium community has developed. For more information, | ||||||
|           visit the <a href="Themes/Theme%20Gallery.html">Theme Gallery</a>.</p> |           check the <a class="reference-link" href="Themes/Theme%20Gallery.html">Theme Gallery</a>.</p> | ||||||
|         <h3>Asset Path Management</h3> |         <h3>Asset Path Management</h3> | ||||||
|         <p>When referencing built-in assets like images in your custom themes or |         <p>When referencing built-in assets like images in your custom themes or | ||||||
|           CSS, you can avoid hardcoding version numbers by using the <code>vX</code> alias. |           CSS, you can avoid hardcoding version numbers by using the <code>vX</code> alias. | ||||||
|   | |||||||
| @@ -17,6 +17,7 @@ | |||||||
|         <h2>Legacy Themes</h2> |         <h2>Legacy Themes</h2> | ||||||
|         <p>These themes may or may not be compatible with the latest versions of |         <p>These themes may or may not be compatible with the latest versions of | ||||||
|           TriliumNext and are based on the original/legacy theme.</p> |           TriliumNext and are based on the original/legacy theme.</p> | ||||||
|  |         <figure class="table"> | ||||||
|           <table> |           <table> | ||||||
|             <thead> |             <thead> | ||||||
|               <tr> |               <tr> | ||||||
| @@ -133,8 +134,11 @@ | |||||||
|               </tr> |               </tr> | ||||||
|             </tbody> |             </tbody> | ||||||
|           </table> |           </table> | ||||||
|  |         </figure> | ||||||
|  |         <aside class="admonition tip"> | ||||||
|           <p>If you would like to add your theme to this gallery, write a new post |           <p>If you would like to add your theme to this gallery, write a new post | ||||||
|             in <a href="https://github.com/TriliumNext/Notes/discussions/categories/show-and-tell">👐 Show and tell</a>.</p> |             in <a href="https://github.com/TriliumNext/Notes/discussions/categories/show-and-tell">👐 Show and tell</a>.</p> | ||||||
|  |         </aside> | ||||||
|       </div> |       </div> | ||||||
|     </div> |     </div> | ||||||
|   </body> |   </body> | ||||||
|   | |||||||
| @@ -26,7 +26,7 @@ | |||||||
|         <h2>Startup Scripts</h2> |         <h2>Startup Scripts</h2> | ||||||
|         <p>Trilium offers various startup scripts to customize your experience:</p> |         <p>Trilium offers various startup scripts to customize your experience:</p> | ||||||
|         <ul> |         <ul> | ||||||
|           <li><code>**trilium-no-cert-check**</code>: Starts Trilium without validating |           <li><code>trilium-no-cert-check</code>: Starts Trilium without validating | ||||||
|             <a |             <a | ||||||
|             href="Server%20Installation/TLS%20Configuration.html">TLS certificates</a>, useful if connecting to a server with a self-signed |             href="Server%20Installation/TLS%20Configuration.html">TLS certificates</a>, useful if connecting to a server with a self-signed | ||||||
|               certificate. |               certificate. | ||||||
| @@ -35,16 +35,16 @@ | |||||||
|                   variable before starting Trilium.</li> |                   variable before starting Trilium.</li> | ||||||
|               </ul> |               </ul> | ||||||
|           </li> |           </li> | ||||||
|           <li><code>**trilium-portable**</code>: Launches Trilium in portable mode, |           <li><code>trilium-portable</code>: Launches Trilium in portable mode, where | ||||||
|             where the <a href="Data%20directory.html">data directory</a> is created within |             the <a href="Data%20directory.html">data directory</a> is created within | ||||||
|             the application's directory, making it easy to move the entire setup.</li> |             the application's directory, making it easy to move the entire setup.</li> | ||||||
|           <li><code>**trilium-safe-mode**</code>: Boots Trilium in "safe mode," disabling |           <li><code>trilium-safe-mode</code>: Boots Trilium in "safe mode," disabling | ||||||
|             any startup scripts that might cause the application to crash.</li> |             any startup scripts that might cause the application to crash.</li> | ||||||
|         </ul> |         </ul> | ||||||
|         <h2>Synchronization</h2> |         <h2>Synchronization</h2> | ||||||
|         <p>For Trilium desktp users who wish to synchronize their data with a server |         <p>For Trilium desktp users who wish to synchronize their data with a server | ||||||
|           instance, refer to the <a href="Synchronization.html">Synchronization Guide</a> for |           instance, refer to the <a class="reference-link" href="Synchronization.html">Synchronization</a> guide | ||||||
|           detailed instructions.</p> |           for detailed instructions.</p> | ||||||
|       </div> |       </div> | ||||||
|     </div> |     </div> | ||||||
|   </body> |   </body> | ||||||
|   | |||||||
| @@ -30,7 +30,7 @@ | |||||||
|         <h2>Installation</h2> |         <h2>Installation</h2> | ||||||
|         <h3>Download</h3> |         <h3>Download</h3> | ||||||
|         <p>You can either download source code zip/tar from <a href="https://github.com/TriliumNext/Notes/releases/latest">https://github.com/TriliumNext/Notes/releases/latest</a>.</p> |         <p>You can either download source code zip/tar from <a href="https://github.com/TriliumNext/Notes/releases/latest">https://github.com/TriliumNext/Notes/releases/latest</a>.</p> | ||||||
|         <p>For the latest version including betas, clone Git repository <strong>from</strong>  <code>**master**</code>  <strong>branch</strong> with:</p><pre><code class="language-text-x-trilium-auto">git clone -b master https://github.com/triliumnext/notes.git</code></pre> |         <p>For the latest version including betas, clone Git repository <strong>from</strong>  <code>master</code>  <strong>branch</strong> with:</p><pre><code class="language-text-x-trilium-auto">git clone -b master https://github.com/triliumnext/notes.git</code></pre> | ||||||
|         <h2>Installation</h2><pre><code class="language-text-x-trilium-auto">cd trilium |         <h2>Installation</h2><pre><code class="language-text-x-trilium-auto">cd trilium | ||||||
|  |  | ||||||
| # download all node dependencies | # download all node dependencies | ||||||
|   | |||||||
| @@ -27,7 +27,7 @@ | |||||||
|           </li> |           </li> | ||||||
|         </ul> |         </ul> | ||||||
|         <h2>Example - word count widget</h2> |         <h2>Example - word count widget</h2> | ||||||
|         <p>Create a code note of type JS frontend and <strong>give it a</strong>  <code>**#widget**</code>  <strong>label</strong>.</p><pre><code class="language-text-x-trilium-auto">/* |         <p>Create a code note of type JS frontend and <strong>give it a</strong>  <code>#widget</code>  <strong>label</strong>.</p><pre><code class="language-text-x-trilium-auto">/* | ||||||
|  * This defines a custom widget which displays number of words and characters in a current text note. |  * 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. |  * 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. | ||||||
|  *  |  *  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user