Skip to content

Build your personal knowledge base with Trilium Notes

docs(user): sync

Elian Doran3665dc65f462
diff --git a/apps/server/src/assets/help/help_content.json b/apps/server/src/assets/help/help_content.json
index 2ce6069690..cbe6497b62 100644
--- a/apps/server/src/assets/help/help_content.json
+++ b/apps/server/src/assets/help/help_content.json
@@ -33,11 +33,11 @@
"_help_n1lujUxCwipy": "<p>This document outlines the steps required to upgrade Trilium to a new release version.</p><h2>How to Upgrade</h2><p>Trilium does not support built-in automatic upgrades; all updates must be performed manually. The upgrade process varies depending on the installation method:</p><ul><li><a href=\"#root/_help_rWX5eY045zbE\"><strong>Docker Server Installation</strong></a>: Pull the new image and restart the container.</li><li><strong>Other Installations</strong>: Download the latest version from the <a href=\"https://github.com/TriliumNext/Trilium/releases/latest\">release page</a> and replace the existing application files.</li></ul><h2>Database Compatibility and Migration</h2><p>Upon startup, Trilium will automatically migrate the <a href=\"#root/_help_wX4HbRucYSDD\">database</a> 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 <a href=\"#root/_help_ODY7qQn5m2FT\">backup</a> that is created prior to migration.</p><h2>Sync Compatibility</h2><p>The <a href=\"#root/_help_cbkrhQjrkKrh\">synchronization</a> 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.</p>",
"_help_ODY7qQn5m2FT": "<p>Trilium supports simple backup scheme where it saves copy of the&nbsp;<a class=\"reference-link\" href=\"#root/_help_wX4HbRucYSDD\">Database</a>&nbsp;on these events:</p><ul><li>once a day</li><li>once a week</li><li>once a month</li><li>before DB migration to newer version</li></ul><p>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 <code spellcheck=\"false\">backup</code> directory placed in the <a href=\"#root/_help_tAassRL4RSQL\">data directory</a>.</p><p>This is only very basic backup solution, and you're encouraged to add some better backup solution - e.g. backing up the&nbsp;<a class=\"reference-link\" href=\"#root/_help_wX4HbRucYSDD\">Database</a>&nbsp;to cloud / different computer etc.</p><p>Note that&nbsp;<a class=\"reference-link\" href=\"#root/_help_cbkrhQjrkKrh\">Synchronization</a>&nbsp;provides also some backup capabilities by its nature of distributing the data to other computers.</p><h2>Downloading backup</h2><p>You can download an existing backup by going to Settings &gt; Backup &gt; Existing backups &gt; Download</p><h2>Restoring backup</h2><p>Let's assume you want to restore the weekly backup, here's how to do it:</p><ul><li>find <a href=\"#root/_help_tAassRL4RSQL\">data directory</a> Trilium uses - easy way is to open \"About Trilium Notes\" from \"Menu\" in upper left corner and looking at \"data directory\"<ul><li>I'll refer to <code spellcheck=\"false\">~/trilium-data</code> as data directory from now on</li></ul></li><li>find <code spellcheck=\"false\">~/trilium-data/backup/backup-weekly.db</code> - this is the&nbsp;<a class=\"reference-link\" href=\"#root/_help_wX4HbRucYSDD\">Database</a>&nbsp;backup</li><li>at this point stop/kill Trilium</li><li>delete <code spellcheck=\"false\">~/trilium-data/document.db</code>, <code spellcheck=\"false\">~/trilium-data/document.db-wal</code> and <code spellcheck=\"false\">~/trilium-data/document.db-shm</code> (latter two files are auto generated)</li><li>copy and rename this <code spellcheck=\"false\">~/trilium-data/backup/backup-weekly.db</code> to <code spellcheck=\"false\">~/trilium-data/document.db</code></li><li>make sure that the file is writable, e.g. with <code spellcheck=\"false\">chmod 600 document.db</code></li><li>start Trilium again</li></ul><p>If you have configured sync then you need to do it across all members of the sync cluster, otherwise older version (restored backup) of the document will be detected and synced to the newer version.</p><h2>Disabling backup</h2><p>Although this is not recommended, it is possible to disable backup in <code spellcheck=\"false\">config.ini</code> in the <a href=\"#root/_help_tAassRL4RSQL\">data directory</a>:</p><pre><code class=\"language-text-x-trilium-auto\">[General]\n... some other configs\n# set to true to disable backups (e.g. because of limited space on server)\nnoBackup=true</code></pre><p>You can also review the <a href=\"#root/_help_Gzjqa934BdH4\">configuration</a> file to provide all <code spellcheck=\"false\">config.ini</code> values as environment variables instead.</p><p>See <a href=\"https://github.com/TriliumNext/Trilium/blob/master/config-sample.ini\">sample config</a>.</p>",
"_help_tAassRL4RSQL": "<p>Data directory contains:</p><ul><li><code spellcheck=\"false\">document.db</code> - <a href=\"#root/_help_wX4HbRucYSDD\">database</a></li><li><code spellcheck=\"false\">config.ini</code> - instance level settings like port on which the Trilium application runs</li><li><code spellcheck=\"false\">backup</code> - contains automatically <a href=\"#root/_help_ODY7qQn5m2FT\">backup</a> of documents</li><li><code spellcheck=\"false\">log</code> - contains application log files</li></ul><h2>Location of the data directory</h2><p>Easy way how to find out which data directory Trilium uses is to look at the \"About Trilium Notes\" dialog (from \"Menu\" in upper left corner):</p><p><img src=\"{{helpAssets}}/User%20Guide/Installation%20%26%20Setup/Data%20directory_image.jpg\"></p><p>Here's how the location is decided:</p><p>Data directory is normally named <code spellcheck=\"false\">trilium-data</code> and it is stored in:</p><ul><li><code spellcheck=\"false\">/home/[user]/.local/share</code> for Linux</li><li><code spellcheck=\"false\">C:\\Users\\[user]\\AppData\\Roaming</code> for Windows Vista and up</li><li><code spellcheck=\"false\">/Users/[user]/Library/Application Support</code> for Mac OS</li><li>user's home is a fallback if some of the paths above don't exist</li><li>user's home is also a default setup for [[docker|Docker server installation]]</li></ul><p>If you want to back up your Trilium data, just backup this single directory - it contains everything you need.</p><h3>Changing the location of data directory</h3><p>If you want to use some other location for the data directory than the default one, you may change it via <code spellcheck=\"false\">TRILIUM_DATA_DIR</code> environment variable to some other location:</p><h3>Windows</h3><ol><li>Press the Windows key on your keyboard.</li><li>Search and select “Edit the system variables”.</li><li>Press the “Environment Variables…” button in the bottom-right of the newly opened screen.</li><li>On the top section (\"User variables for [user]\"), press the “New…” button.</li><li>In the <em>Variable name</em> field insert <code spellcheck=\"false\">TRILIUM_DATA_DIR</code>.</li><li>Press the <em>Browse Directory…</em> button and select the new directory where to store the database.</li><li>Close all the windows by pressing the <em>OK</em> button for each of them.</li></ol><h4>Linux</h4><pre><code class=\"language-text-x-trilium-auto\">export TRILIUM_DATA_DIR=/home/myuser/data/my-trilium-data</code></pre><h4>Mac OS X</h4><p>You need to create a <code spellcheck=\"false\">.plist</code> file under <code spellcheck=\"false\">~/Library/LaunchAgents</code> to load it properly each login.</p><p>To load it manually, you need to use <code spellcheck=\"false\">launchctl setenv TRILIUM_DATA_DIR &lt;yourpath&gt;</code></p><p>Here is a pre-defined template, where you just need to add your path to:</p><pre><code class=\"language-text-x-trilium-auto\"> Label\n set.trilium.env\n RunAtLoad\n \n ProgramArguments\n \n launchctl\n setenv\n TRILIUM_DATA_DIR\n /Users/YourUserName/Library/Application Support/trilium-data </code></pre><h3>Create a script to run with specific data directory</h3><p>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 <a href=\"#root/_help_wX4HbRucYSDD\">database</a> instances or \"portable\" installation.</p><p>To do this in Unix-based systems simply run <code spellcheck=\"false\">trilium</code> like this:</p><pre><code class=\"language-text-x-trilium-auto\">TRILIUM_DATA_DIR=/home/myuser/data/my-trilium-data trilium</code></pre><p>You can then save the above command as a shell script on your path for convenience.</p><h2>Electron user data directory (desktop only)</h2><p>When running the desktop application, Electron stores internal data (caches, spell-check dictionaries, session storage, etc.) separately from the Trilium data directory. By default this goes to the system's application data folder (e.g. <code spellcheck=\"false\">%APPDATA%</code> on Windows), which may be undesirable in corporate environments with roaming profiles or when running in portable mode.</p><p>To keep Electron data out of the system's roaming profile, set the <code spellcheck=\"false\">TRILIUM_ELECTRON_DATA_DIR</code> environment variable to an explicit path. The <code spellcheck=\"false\">trilium-portable</code> script does this automatically, pointing it to <code spellcheck=\"false\">trilium-electron-data/</code> next to the application.</p><h2>Fine-grained directory/path location</h2><p>Apart from the data directory, some of the subdirectories of it can be moved elsewhere by changing an environment variable:</p><figure class=\"table\"><table>\n<thead>\n<tr>\n<th>Environment variable</th>\n<th>Default value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><code spellcheck=\"false\">TRILIUM_DOCUMENT_PATH</code></td>\n<td><code spellcheck=\"false\">${TRILIUM_DATA_DIR}/document.db</code></td>\n<td>Path to the&nbsp;<a class=\"reference-link\" href=\"#root/_help_wX4HbRucYSDD\">Database</a>&nbsp;(storing all notes and metadata).</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">TRILIUM_BACKUP_DIR</code></td>\n<td><code spellcheck=\"false\">${TRILIUM_DATA_DIR}/backup</code></td>\n<td>Directory where automated&nbsp;<a class=\"reference-link\" href=\"#root/_help_ODY7qQn5m2FT\">Backup</a>&nbsp;databases are stored.</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">TRILIUM_LOG_DIR</code></td>\n<td><code spellcheck=\"false\">${TRILIUM_DATA_DIR}/log</code></td>\n<td>Directory where daily&nbsp;<a class=\"reference-link\" href=\"#root/_help_bnyigUA2UK7s\">Backend (server) logs</a>&nbsp;are stored.</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">TRILIUM_TMP_DIR</code></td>\n<td><code spellcheck=\"false\">${TRILIUM_DATA_DIR}/tmp</code></td>\n<td>Directory where temporary files are stored (for example when opening in an external app).</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">TRILIUM_ANONYMIZED_DB_DIR</code></td>\n<td><code spellcheck=\"false\">${TRILIUM_DATA_DIR}/anonymized-db</code></td>\n<td>Directory where a&nbsp;<a class=\"reference-link\" href=\"#root/_help_x59R8J8KV5Bp\">Anonymized Database</a>&nbsp;is stored.</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">TRILIUM_CONFIG_INI_PATH</code></td>\n<td><code spellcheck=\"false\">${TRILIUM_DATA_DIR}/config.ini</code></td>\n<td>Path to&nbsp;<a class=\"reference-link\" href=\"#root/_help_Gzjqa934BdH4\">Configuration (config.ini or environment variables)</a>&nbsp;file.</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">TRILIUM_ELECTRON_DATA_DIR</code></td>\n<td>System appData</td>\n<td>Directory for Electron internal data (caches, spell-check dictionaries, etc.). Set this in portable mode to avoid writing to the system profile (desktop only).</td>\n</tr>\n</tbody></table></figure>",
- "_help_x0JgW8UqGXvq": "<h2>Layouts</h2><p>Trilium supports two different layouts, based on your preference.</p><h3>Vertical layout</h3><p>The vertical layout is Trilium's original layout:</p><ul><li>The&nbsp;<a class=\"reference-link\" href=\"#root/_help_xYmIYSP6wE3F\">Launch Bar</a>&nbsp;is positioned on the left side of the screen, with buttons being laid out vertically.</li><li>The tab bar is at the top, but to the right of the&nbsp;<a class=\"reference-link\" href=\"#root/_help_oPVyFC7WL2Lp\">Note Tree</a>.</li><li>The&nbsp;<a class=\"reference-link\" href=\"#root/_help_Ms1nauBra7gq\">Quick search</a>&nbsp;is at the top of the&nbsp;<a class=\"reference-link\" href=\"#root/_help_oPVyFC7WL2Lp\">Note Tree</a>.</li><li>The&nbsp;<a class=\"reference-link\" href=\"#root/_help_oPVyFC7WL2Lp\">Note Tree</a>&nbsp;can be collapsed by pressing the <img src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/5_Vertical%20and%20horizontal%20layout_image.png\"> button at the bottom of the&nbsp;<a class=\"reference-link\" href=\"#root/_help_xYmIYSP6wE3F\">Launch Bar</a>.</li><li>The&nbsp;<a class=\"reference-link\" href=\"#root/_help_x3i7MxGccDuM\">Global menu</a>&nbsp;can be accessed via the <img src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/4_Vertical%20and%20horizontal%20layout_image.png\"> icon at the top of the&nbsp;<a class=\"reference-link\" href=\"#root/_help_xYmIYSP6wE3F\">Launch Bar</a>.</li></ul><p><img src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/3_Vertical%20and%20horizontal%20layout_image.jpg\"></p><h3>Horizontal layout</h3><p>The horizontal layout is a more traditional layout, since it bears similarity with other applications. In this mode:</p><ul><li>The&nbsp;<a class=\"reference-link\" href=\"#root/_help_xYmIYSP6wE3F\">Launch Bar</a>&nbsp;is at the top of the screen, with the buttons laid horizontally.</li><li>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.</li><li>The&nbsp;<a class=\"reference-link\" href=\"#root/_help_Ms1nauBra7gq\">Quick search</a>&nbsp;is now part of the&nbsp;<a class=\"reference-link\" href=\"#root/_help_xYmIYSP6wE3F\">Launch Bar</a>. It can be moved around according to preference and even removed if needed.</li><li>The&nbsp;<a class=\"reference-link\" href=\"#root/_help_oPVyFC7WL2Lp\">Note Tree</a>&nbsp;can be collapsed by pressing the small <img src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/1_Vertical%20and%20horizontal%20layout_image.png\"> button to the left of the first tab.</li><li>The&nbsp;<a class=\"reference-link\" href=\"#root/_help_x3i7MxGccDuM\">Global menu</a>&nbsp;can be accessed via the <img src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/Vertical%20and%20horizontal%20layout_image.png\"> button at the end of the&nbsp;<a class=\"reference-link\" href=\"#root/_help_xYmIYSP6wE3F\">Launch Bar</a>.</li></ul><p><img src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/2_Vertical%20and%20horizontal%20layout_image.jpg\"></p><h2>Changing the layout</h2><p>Go to&nbsp;<a class=\"reference-link\" href=\"#root/_help_4TIF1oA4VQRO\">Options</a>&nbsp;and look for the <em>Appearance</em> option on the left. Then look for the <em>Layout</em> section, where there is the possibility to switch between the two available layouts.</p><p>Selecting an option will immediately apply the new layout by reloading the window.</p>",
+ "_help_x0JgW8UqGXvq": "<h2>Layouts</h2><p>Trilium supports two different layouts, based on your preference.</p><h3>Vertical layout</h3><p>The vertical layout is Trilium's original layout:</p><ul><li>The&nbsp;<a class=\"reference-link\" href=\"#root/_help_xYmIYSP6wE3F\">Launch Bar</a>&nbsp;is positioned on the left side of the screen, with buttons being laid out vertically.</li><li>The tab bar is at the top, but to the right of the&nbsp;<a class=\"reference-link\" href=\"#root/_help_oPVyFC7WL2Lp\">Note Tree</a>.</li><li>The&nbsp;<a class=\"reference-link\" href=\"#root/_help_Ms1nauBra7gq\">Quick search</a>&nbsp;is at the top of the&nbsp;<a class=\"reference-link\" href=\"#root/_help_oPVyFC7WL2Lp\">Note Tree</a>.</li><li>The&nbsp;<a class=\"reference-link\" href=\"#root/_help_oPVyFC7WL2Lp\">Note Tree</a>&nbsp;can be collapsed by pressing the <img src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/3_Vertical%20and%20horizontal%20layout_image.png\"> button at the bottom of the&nbsp;<a class=\"reference-link\" href=\"#root/_help_xYmIYSP6wE3F\">Launch Bar</a>.</li><li>The&nbsp;<a class=\"reference-link\" href=\"#root/_help_x3i7MxGccDuM\">Global menu</a>&nbsp;can be accessed via the <img src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/2_Vertical%20and%20horizontal%20layout_image.png\"> icon at the top of the&nbsp;<a class=\"reference-link\" href=\"#root/_help_xYmIYSP6wE3F\">Launch Bar</a>.</li></ul><p><img src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/1_Vertical%20and%20horizontal%20layout_image.jpg\"></p><h3>Horizontal layout</h3><p>The horizontal layout is a more traditional layout, since it bears similarity with other applications. In this mode:</p><ul><li>The&nbsp;<a class=\"reference-link\" href=\"#root/_help_xYmIYSP6wE3F\">Launch Bar</a>&nbsp;is at the top of the screen, with the buttons laid horizontally.</li><li>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.</li><li>The&nbsp;<a class=\"reference-link\" href=\"#root/_help_Ms1nauBra7gq\">Quick search</a>&nbsp;is now part of the&nbsp;<a class=\"reference-link\" href=\"#root/_help_xYmIYSP6wE3F\">Launch Bar</a>. It can be moved around according to preference and even removed if needed.</li><li>The&nbsp;<a class=\"reference-link\" href=\"#root/_help_oPVyFC7WL2Lp\">Note Tree</a>&nbsp;can be collapsed by pressing the small <img src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/1_Vertical%20and%20horizontal%20layout_image.png\"> button to the left of the first tab.</li><li>The&nbsp;<a class=\"reference-link\" href=\"#root/_help_x3i7MxGccDuM\">Global menu</a>&nbsp;can be accessed via the <img src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/Vertical%20and%20horizontal%20layout_image.png\"> button at the end of the&nbsp;<a class=\"reference-link\" href=\"#root/_help_xYmIYSP6wE3F\">Launch Bar</a>.</li></ul><p><img src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/Vertical%20and%20horizontal%20layout_image.jpg\"></p><h2>Changing the layout</h2><p>Go to&nbsp;<a class=\"reference-link\" href=\"#root/_help_4TIF1oA4VQRO\">Options</a>&nbsp;and look for the <em>Appearance</em> option on the left. Then look for the <em>Layout</em> section, where there is the possibility to switch between the two available layouts.</p><p>Selecting an option will immediately apply the new layout by reloading the window.</p>",
"_help_x3i7MxGccDuM": "<p>The global menu configures the current window (zoom, keeping the window on top) and offers access to some more advanced options.</p><p><img src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/Global%20menu_image.jpg\"></p><h2>Accessing the global menu</h2><p>See&nbsp;<a href=\"#root/_help_x0JgW8UqGXvq\">Vertical and horizontal layout</a>&nbsp;since the position of the global menu is changed based on which layout has been selected.</p>",
"_help_oPVyFC7WL2Lp": "<p>This page explains how to manipulate the note tree in TriliumNext, focusing on moving notes.</p><p><img src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tree_image.jpg\"></p><h2>Drag and Drop</h2><p><img src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tree_drag-and-drop.gif\" alt=\"Drag and drop example\"></p><p>You can easily rearrange the note tree by dragging and dropping notes, as demonstrated in the example above.</p><h2>Keyboard Manipulation</h2><p><img src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tree_move-note-with-keyboard.gif\" alt=\"Example of using keyboard keys to move a note\">Trilium offers efficient keyboard-based manipulation using the following <a href=\"#root/_help_A9Oc6YKKc65v\">shortcuts</a>:</p><ul><li><kbd>Ctrl</kbd> + <kbd><span>↑</span></kbd> and <kbd>Ctrl</kbd> +<kbd><span>↓</span></kbd>: Move the note up or down in the order.</li><li><kbd>Ctrl</kbd>+<kbd><span>←</span></kbd>: Move the note up in the hierarchy by changing its parent to the note's grandparent.</li><li><kbd>Ctrl</kbd>+<kbd><span>→</span></kbd>: Move the note down in the hierarchy by setting its parent to the note currently above it (this action is best understood through a demo or hands-on experience).</li><li><kbd><span>←</span></kbd> and <kbd><span>→</span></kbd>: Expand and collapse a sub-tree.</li></ul><h2>Context Menu</h2><p>You can also move notes using the familiar cut and paste functions available in the context menu, or with the associated keyboard <a href=\"#root/_help_A9Oc6YKKc65v\">shortcuts</a>: <code spellcheck=\"false\">CTRL-C</code> ( <a href=\"#root/_help_IakOLONlIfGI\">copy</a>), <kbd>Ctrl</kbd> + <kbd>X</kbd> (cut) and <kbd>Ctrl</kbd> + <kbd>V</kbd> (paste).</p><p>See&nbsp;<a class=\"reference-link\" href=\"#root/_help_YtSN43OrfzaA\">Note tree contextual menu</a>&nbsp;for more information.</p><h2>Tree Settings</h2><p>Click the tree icon in the tree toolbar to open the tree settings popup. It contains the following options:</p><ul><li><strong>Hide archived notes</strong>: When enabled, archived notes are not shown in the tree.</li><li><strong>Automatically collapse notes</strong>: When enabled, notes are collapsed after a period of inactivity to keep the tree tidy.</li><li><strong>Follow active note</strong>: When enabled (default), the tree automatically scrolls and expands parent nodes to keep the currently active note visible. When disabled, the tree is fully detached from navigation — only the background highlight of the active note is updated, but the tree viewport and its expanded/collapsed state are never changed by navigation. Use the crosshair button to manually jump the tree to the active note at any time.</li></ul><h2>Keyboard shortcuts</h2><p>The note tree comes with multiple keyboard shortcuts to make editing faster, consult the dedicated&nbsp;<a class=\"reference-link\" href=\"#root/_help_DvdZhoQZY9Yd\">Keyboard shortcuts</a>&nbsp;section.</p>",
"_help_YtSN43OrfzaA": "<figure class=\"image image-style-align-right\"><img style=\"aspect-ratio:269/608;\" src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tree/1_Note%20tree%20contextual%20menu_image.png\" width=\"269\" height=\"608\"></figure><p>The <em>note tree menu</em> can be accessed by right-clicking in the&nbsp;<a class=\"reference-link\" href=\"#root/_help_oPVyFC7WL2Lp\">Note Tree</a>.</p><h2>Interaction</h2><p>The contextual menu can operate:</p><ul><li>On a single note, by right clicking it in the note tree.</li><li>On multiple notes, by selecting them first. See&nbsp;<a class=\"reference-link\" href=\"#root/_help_yTjUdsOi4CIE\">Multiple selection</a>&nbsp;on how to do so.<ul><li>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 or not.</li></ul></li></ul><h2>Available options</h2><aside class=\"admonition note\"><p>When multiple notes are selected, only a subset of notes will be active. The ones that do support multiple notes will mention this in the list below.</p></aside><ul><li><strong>Open in a new tab</strong><ul><li>Will open a single note in a new <a href=\"#root/_help_3seOhtN8uLIY\">tab</a>.</li></ul></li><li><strong>Open in a new split</strong><ul><li>Will open a split to the right with the given note within the current tab.</li></ul></li><li><strong>Hoist note</strong><ul><li>Will focus the note tree on this note. See&nbsp;<a class=\"reference-link\" href=\"#root/_help_OR8WJ7Iz9K4U\">Note Hoisting</a>&nbsp;for more information.</li></ul></li><li><strong>Insert note after</strong><ul><li>Allows easy creation of a note with a specified <a href=\"#root/_help_KSZ04uQ2D1St\">note type</a>.</li><li><a class=\"reference-link\" href=\"#root/_help_KC1HB96bqqHX\">Templates</a>&nbsp;will also be present (if any) at the end of the list.</li><li>The note will be added on the same level of hierarchy as the note selected.</li></ul></li><li><strong>Insert child note</strong><ul><li>Same as <em>Insert note after</em>, but the note will be created as a child of the selected note.</li></ul></li><li><strong>Protect subtree</strong><ul><li>Will mark this note and all of its descendents as protected. See&nbsp;<a class=\"reference-link\" href=\"#root/_help_bwg0e8ewQMak\">Protected Notes</a>&nbsp;for more information.</li></ul></li><li><strong>Unprotect subtree</strong><ul><li>Will unprotect this note and all of its descendents.</li></ul></li><li><strong>Cut</strong><ul><li>Will place the given notes in clipboard.</li><li>Use one of the two paste functions (or the keyboard shortcuts) to move them to the desired location.</li></ul></li><li><strong>Copy / clone</strong><ul><li>Will place the given notes in clipboard.</li><li>Use one of the two paste functions (or the keyboard shortcuts) to copy them to the desired location.</li><li>Note that the copy function here works according to the&nbsp;<a class=\"reference-link\" href=\"#root/_help_IakOLONlIfGI\">Cloning Notes</a>&nbsp;functionality (i.e. the note itself will be present in two locations at once, and editing it in one place will edit it everywhere).</li><li>To simply create a duplicate note that can be modified independently, look for <em>Duplicate subtree</em>.</li></ul></li><li><strong>Paste into</strong><ul><li>If there are any notes in clipboard, they will be pasted as child notes to the right-clicked one.</li></ul></li><li><strong>Paste after</strong><ul><li>If there are any notes in clipboard, they will be pasted underneath the right-clicked one.</li></ul></li><li><strong>Move to…</strong><ul><li>Will display a modal to specify where to move the desired notes.</li></ul></li><li><strong>Clone to…</strong><ul><li>Will display a modal to specify where to <a href=\"#root/_help_IakOLONlIfGI\">clone</a> the desired notes.</li></ul></li><li><strong>Duplicate</strong><ul><li>Creates a copy of the note and its descendants.</li><li>This process is different from&nbsp;<a class=\"reference-link\" href=\"#root/_help_IakOLONlIfGI\">Cloning Notes</a>&nbsp;since the duplicated note can be edited independently from the original.</li><li>An alternative to this, if done regularly, would be&nbsp;<a class=\"reference-link\" href=\"#root/_help_KC1HB96bqqHX\">Templates</a>.</li></ul></li><li><strong>Archive/Unarchive</strong><ul><li>Marks a note as <a href=\"#root/_help_MKmLg5x6xkor\">archived</a>.</li><li>If the note is already archived, it will be unarchived instead.</li><li>Multiple notes can be selected as well. However, all the selected notes must be in the same state (archived or not), otherwise the option will be disabled.</li></ul></li><li><strong>Delete</strong><ul><li>Will delete the given notes, asking for confirmation first.</li><li>In the dialog, the following options can be configured:<ul><li><em>Delete also all clones</em> to ensure that the note will be deleted everywhere if it has been placed into multiple locations (see&nbsp;<a class=\"reference-link\" href=\"#root/_help_IakOLONlIfGI\">Cloning Notes</a>).</li><li><em>Erase notes permanently</em> will ensure that the note cannot be recovered from&nbsp;<a class=\"reference-link\" href=\"#root/_help_r5JGHN99bVKn\">Recent Changes</a>.</li></ul></li></ul></li><li><strong>Import into note</strong><ul><li>Opens the <a href=\"#root/_help_mHbBMPDPkVV5\">import</a> dialog and places the imported notes as child notes of the selected one.</li></ul></li><li><strong>Export</strong><ul><li>Opens the <a href=\"#root/_help_mHbBMPDPkVV5\">export</a> dialog for the selected notes.</li></ul></li><li><strong>Search in subtree</strong><ul><li>Opens a full&nbsp;<a class=\"reference-link\" href=\"#root/_help_eIg8jdvaoNNd\">Search</a>&nbsp;with it preconfigured to only look into this note and its descendants (the <em>Ancestor</em> field).</li></ul></li></ul><h2>Advanced options</h2><figure class=\"image image-style-align-right\"><img style=\"aspect-ratio:231/263;\" src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tree/Note%20tree%20contextual%20menu_image.png\" width=\"231\" height=\"263\"></figure><p>The advanced options menu offers some of the less frequently used actions for notes.</p><p>To access these options, first look for the <em>Advanced</em> option in the contextual menu to reveal a sub-menu with:</p><ul><li><strong>Apply bulk actions</strong><ul><li>Opens the&nbsp;<a class=\"reference-link\" href=\"#root/_help_ivYnonVFBxbQ\">Bulk Actions</a>&nbsp;dialog, to apply actions such as adding labels or moving notes to multiple notes at once (see&nbsp;<a class=\"reference-link\" href=\"#root/_help_yTjUdsOi4CIE\">Multiple selection</a>).</li></ul></li><li><strong>Edit branch prefix</strong><ul><li>Opens a dialog to assign a name to be able to distinguish <a href=\"#root/_help_IakOLONlIfGI\">clones</a>, see&nbsp;<a class=\"reference-link\" href=\"#root/_help_TBwsyfadTA18\">Branch prefix</a>&nbsp;for more information.</li></ul></li><li><strong>Convert to attachment</strong><ul><li>Converts the selected notes to&nbsp;<a class=\"reference-link\" href=\"#root/_help_0vhv7lsOLy82\">Attachments</a>&nbsp;of their parent notes.</li><li>This functional is most useful when dealing with image&nbsp;<a class=\"reference-link\" href=\"#root/_help_W8vYD3Q1zjCR\">File</a>&nbsp;notes that were imported from an external source or an older version of Trilium.</li></ul></li><li><strong>Expand subtree</strong><ul><li>Expands all the child notes in the&nbsp;<a class=\"reference-link\" href=\"#root/_help_oPVyFC7WL2Lp\">Note Tree</a>.</li></ul></li><li><strong>Collapse subtree</strong><ul><li>Collapses all the child notes in the note tree.</li></ul></li><li><strong>Sort by…</strong><ul><li>Opens a dialog to sort all the child notes of the selected note.</li><li>The sorting is done only once, there is an automatic sorting mechanism as well that can be set using&nbsp;<a class=\"reference-link\" href=\"#root/_help_zEY4DaJG4YT5\">Attributes</a>.</li><li>See&nbsp;<a class=\"reference-link\" href=\"#root/_help_aGlEvb9hyDhS\">Sorting Notes</a>&nbsp;for more information.</li></ul></li><li><strong>Copy note path to clipboard</strong><ul><li>Copies a URL fragment representing the full path to this branch for a note, such as <code spellcheck=\"false\">#root/Hb2E70L7HPuf/4sRFgMZhYFts/2IVuShedRJ3U/LJVMvKXOFv7n</code>.</li><li>The URL to manually create&nbsp;<a class=\"reference-link\" href=\"#root/_help_QEAPj01N5f7w\">Links</a>&nbsp;within notes, or for note&nbsp;<a class=\"reference-link\" href=\"#root/_help_wArbEsdSae6g\">Navigation</a>.</li></ul></li><li><strong>Recent changes in subtree</strong><ul><li>This will open&nbsp;<a class=\"reference-link\" href=\"#root/_help_r5JGHN99bVKn\">Recent Changes</a>, but filtered to only the changes related to this note or one of its descendants.</li></ul></li></ul>",
- "_help_yTjUdsOi4CIE": "<p>In the&nbsp;<a class=\"reference-link\" href=\"#root/_help_oPVyFC7WL2Lp\">Note Tree</a>, it's possible to select multiple notes at one time. This won't affect the currently displayed note, but it allows to do batch operations.</p><h2>Types of multiple selection</h2><figure class=\"image image-style-align-right image_resized\" style=\"width:28.54%;\"><img style=\"aspect-ratio:335/306;\" src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tree/Multiple%20selection_image.png\" width=\"335\" height=\"306\"></figure><h3>Selecting notes one by one</h3><p>To individually select each note, press the <kbd>Alt</kbd> key and click on the note to be selected.</p><p>The selected notes will be indicated via a different background color and an icon.</p><h3>Selecting notes in a sequence</h3><figure class=\"image image-style-align-right image_resized\" style=\"width:29.24%;\"><img style=\"aspect-ratio:233/205;\" src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tree/1_Multiple%20selection_image.jpg\" width=\"233\" height=\"205\"></figure><p>When notes are in a sequence (e.g. one underneath the other), the entire selection can be made just by selecting the first and the last item instead of individually clicking all the notes.</p><p>To do so, first select the note to start the selection with. Then hold <kbd>Shift</kbd> and click on the note to end the selection with. All the notes between the start and the end note will be selected as well.</p><h2>Selected notes vs. active note</h2><p>There is a distinction between <em>selected notes</em> and the <em>active note</em>:</p><ul><li><em>Selected notes</em> are simply the notes that were selected in the multiple section process (i.e. either via <kbd>Alt</kbd> or <kbd>Shift</kbd>).</li><li>The <em>active note</em> is simply the note that whose content is being displayed to the right of the tree.<ul><li><p>Visually, it's identified in the tree by having a different background color and a subtle shadow.</p></li><li><p>The active note can also be selected case in which the icon and background will also change:</p><img class=\"image_resized\" style=\"aspect-ratio:317/223;width:35.1%;\" src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tree/2_Multiple%20selection_image.png\" width=\"317\" height=\"223\"></li></ul></li></ul>",
+ "_help_yTjUdsOi4CIE": "<p>In the&nbsp;<a class=\"reference-link\" href=\"#root/_help_oPVyFC7WL2Lp\">Note Tree</a>, it's possible to select multiple notes at one time. This won't affect the currently displayed note, but it allows to do batch operations.</p><h2>Types of multiple selection</h2><figure class=\"image image-style-align-right image_resized\" style=\"width:28.54%;\"><img style=\"aspect-ratio:335/306;\" src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tree/Multiple%20selection_image.png\" width=\"335\" height=\"306\"></figure><h3>Selecting notes one by one</h3><p>To individually select each note, press the <kbd>Alt</kbd> key and click on the note to be selected.</p><p>The selected notes will be indicated via a different background color and an icon.</p><h3>Selecting notes in a sequence</h3><figure class=\"image image-style-align-right image_resized\" style=\"width:29.24%;\"><img style=\"aspect-ratio:233/205;\" src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tree/Multiple%20selection_image.jpg\" width=\"233\" height=\"205\"></figure><p>When notes are in a sequence (e.g. one underneath the other), the entire selection can be made just by selecting the first and the last item instead of individually clicking all the notes.</p><p>To do so, first select the note to start the selection with. Then hold <kbd>Shift</kbd> and click on the note to end the selection with. All the notes between the start and the end note will be selected as well.</p><h2>Selected notes vs. active note</h2><p>There is a distinction between <em>selected notes</em> and the <em>active note</em>:</p><ul><li><em>Selected notes</em> are simply the notes that were selected in the multiple section process (i.e. either via <kbd>Alt</kbd> or <kbd>Shift</kbd>).</li><li>The <em>active note</em> is simply the note that whose content is being displayed to the right of the tree.<ul><li><p>Visually, it's identified in the tree by having a different background color and a subtle shadow.</p></li><li><p>The active note can also be selected case in which the icon and background will also change:</p><img class=\"image_resized\" style=\"aspect-ratio:317/223;width:35.1%;\" src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tree/1_Multiple%20selection_image.png\" width=\"317\" height=\"223\"></li></ul></li></ul>",
"_help_DvdZhoQZY9Yd": "<p>The&nbsp;<a class=\"reference-link\" href=\"#root/_help_oPVyFC7WL2Lp\">Note Tree</a>&nbsp;comes with multiple keyboard shortcuts to make editing faster:</p><h2>Navigation within the tree</h2><ul><li><kbd><span>↑</span></kbd> and <kbd><span>↑</span></kbd> to navigate between notes.</li><li><kbd><span>←</span></kbd> to collapse a note with children, or <kbd><span>→</span></kbd> to expand it.</li><li><kbd><span>←</span></kbd> on a note with no children to navigate to its parent.</li></ul><h2>Opening notes</h2><ul><li><kbd>Click</kbd> to open the note in the current tab.</li><li><kbd>Ctrl</kbd>+<kbd>Click</kbd> or <kbd>Middle click</kbd> to open the note in a new tab.</li><li><kbd>Ctrl</kbd>+<kbd>Right click</kbd> to open the note in&nbsp;<a class=\"reference-link\" href=\"#root/_help_ZjLYv08Rp3qC\">Quick edit</a>.</li></ul><h2>Clipboard management</h2><ul><li><kbd>Ctrl</kbd>+<kbd>C</kbd> to copy one or more notes based on selection (see&nbsp;<a class=\"reference-link\" href=\"#root/_help_IakOLONlIfGI\">Cloning Notes</a>).</li><li><kbd>Ctrl</kbd>+<kbd>X</kbd> to cut one or more notes (for moving them).</li><li><kbd>Ctrl</kbd>+<kbd>V</kbd> to paste them somewhere (which results in a copy or move based on the shortcut used).</li></ul><h2>Moving notes</h2><ul><li><kbd>Ctrl</kbd> + <kbd><span>↑</span></kbd> , <kbd>Ctrl</kbd> + <kbd><span>↓</span></kbd> - move note up/down in the note list.</li><li><kbd>Ctrl</kbd> + <kbd><span>←</span></kbd> - move note up in the note tree.</li><li><kbd>Ctrl</kbd>+<kbd><span>→</span></kbd> - move note down in the note tree.</li><li><kbd>Del</kbd> - deletes note and optionally its subtree (asked in the dialog).</li></ul><h2>Multiple selection</h2><p>See&nbsp;<a class=\"reference-link\" href=\"#root/_help_yTjUdsOi4CIE\">Multiple selection</a>&nbsp;for more information about how selection works.</p><ul><li><kbd>Alt</kbd>+<kbd>Click</kbd> – add a single note to the current selection.</li><li><kbd>Shift</kbd>+<kbd>Click</kbd> – select a range of notes, starting from the current note (the highlighted one) to the one that is being clicked.</li><li><kbd>Shift</kbd>+<kbd><span>↑</span></kbd>, <kbd>Shift</kbd>+<kbd><span>↓</span></kbd> – multi-select not above/below.</li><li><kbd>Ctrl</kbd>+<kbd>A</kbd> – select all notes in the current level</li></ul>",
"_help_wyaGBBQrl4i3": "<figure class=\"image image-style-align-right\"><img style=\"aspect-ratio:328/45;\" src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tree/1_Hiding%20the%20subtree_image.png\" width=\"328\" height=\"45\"><figcaption>An example of a collection with a relatively large number of children that are hidden from the tree.</figcaption></figure><p>The tree works well when the notes are structured in a hierarchy so that the number of items stays small. When a note has a large number of notes (in the order of thousands or tens of thousands), two problems arise:</p><ul><li>Navigating between notes becomes cumbersome and the tree itself gets cluttered with a large amount of notes.</li><li>The large amount of notes can slow down the application considerably.</li></ul><p>Since v0.102.0, Trilium allows the tree to hide the child notes of particular notes. This works for both&nbsp;<a class=\"reference-link\" href=\"#root/_help_GTwFsgaA0lCt\">Collections</a>&nbsp;and normal notes.</p><h2>Interaction</h2><p>When the subtree of a note is hidden, there are a few subtle changes:</p><ul><li>To indicate that the subtree is hidden, the note will not have an expand button and it will display the number of children to the right.</li><li>It's not possible to add a new note directly from the tree.<ul><li>For&nbsp;<a class=\"reference-link\" href=\"#root/_help_GTwFsgaA0lCt\">Collections</a>, it's best to use the built-in mechanism to create notes (for example by creating a new point on a geo-map, or by adding a new row in a table).</li><li>For normal notes, it's still possible to create children via other means such as using the&nbsp;<a class=\"reference-link\" href=\"#root/_help_hrZ1D00cLbal\">Internal (reference) links</a>&nbsp;system.</li></ul></li><li>Notes can be dragged from outside the note, case in which they will be cloned into it.<ul><li>Instead of switching to the child notes that were copied, the parent note is highlighted instead.</li><li>A notification will indicate this behavior.</li></ul></li><li>Similarly, features such as cut/copy and then paste into the note will also work.</li></ul><h2>Spotlighting</h2><figure class=\"image image-style-align-right\"><img style=\"aspect-ratio:322/83;\" src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tree/Hiding%20the%20subtree_image.png\" width=\"322\" height=\"83\"></figure><p>Even if the subtree of a note is hidden, if a child note manages to become active, it will still appear inside the tree in a special state called <em>spotlighted</em>.</p><p>During this state, the note remains under its normal hierarchy, so that its easy to tell its location. In addition, this means that:</p><ul><li>The note position is clearly visible when using the&nbsp;<a class=\"reference-link\" href=\"#root/_help_eIg8jdvaoNNd\">Search</a>.</li><li>The note can still be operated on from the tree, such as adding a&nbsp;<a class=\"reference-link\" href=\"#root/_help_TBwsyfadTA18\">Branch prefix</a>&nbsp;or moving it outside the collection.</li></ul><p>The note appears in italics to indicate its temporary display. When switching to another note, the spotlighted note will disappear.</p><aside class=\"admonition note\"><p>Only one note can be highlighted at the time. When working with multiple notes such as dragging them into the collection, no note will be spotlighted. This is intentional to avoid displaying a partial state of the subtree.</p></aside><h2>Working with collections</h2><p>For large collections, it can be helpful to hide their child notes for performance reasons or de-cluttering the tree.</p><p>To toggle this behavior:</p><ul><li>Open the collection and in&nbsp;<a class=\"reference-link\" href=\"#root/_help_CssoWBu8I7jF\">Collection Properties</a>, look for <em>Hide child notes in tree</em>.</li><li>Right click the collection note in the&nbsp;<a class=\"reference-link\" href=\"#root/_help_oPVyFC7WL2Lp\">Note Tree</a>&nbsp;and select <em>Advanced</em> → <em>Show subtree</em>.</li></ul><h2>Working with normal notes</h2><p>It's possible to hide the subtree for normal notes as well, not just collections. To do so, right click the note in the&nbsp;<a class=\"reference-link\" href=\"#root/_help_oPVyFC7WL2Lp\">Note Tree</a>&nbsp;and select <em>Advanced</em> → <em>Hide subtree.</em></p>",
"_help_BlN9DFI679QC": "<p><img src=\"{{helpAssets}}/User%20Guide/Basic%20Concepts%20and%20Features/UI%20Elements/Ribbon_image.jpg\"></p><p>The ribbon allows changing options, attributes and viewing information about the current note.</p><h2>Settings</h2><p>It is possible to change whether some ribbon items will be automatically open when navigating to a new note. To do so, in&nbsp;<a href=\"#root/_help_4TIF1oA4VQRO\">Settings</a>, go to <em>Appearance</em> and look for the <em>Ribbon widgets</em> section.</p><h2>Formatting</h2><p>If you are using the <em>Fixed</em> formatting toolbar, all the formatting buttons for text notes will appear here. See&nbsp;<a href=\"#root/_help_nRhnJkTT8cPs\">Formatting toolbar</a>&nbsp;for more information.</p><h2>Tabs</h2><h3>Basic Properties</h3><ul><li><em><strong>Note type</strong></em> allows changing the <a href=\"#root/_help_KSZ04uQ2D1St\">note type</a> of a note.<ul><li>Generally this is desirable only if the note is empty.</li><li>As a more advanced use, it's possible to change the note type in order to modify the <a href=\"#root/_help_4FahAwuGTAwC\">source code</a> of a note.</li></ul></li><li><em><strong>Protect the note</strong></em> toggles whether the current note is encrypted and accessible only by entering the protected session. See&nbsp;<a href=\"#root/_help_bwg0e8ewQMak\">Protected Notes</a>&nbsp;for more information.</li><li><em><strong>Editable</strong></em> changes whether the current note:<ul><li>Enters <a href=\"#root/_help_CoFPLs3dRlXc\">read-only mode</a> automatically if the note is too big (default behavior).</li><li>Is always in read-only mode (however it can still be edited temporarily).</li><li>Is always editable, regardless of its size.</li></ul></li><li><em><strong>Bookmark</strong></em> toggles the display of the current note into the&nbsp;<a href=\"#root/_help_xYmIYSP6wE3F\">Launch Bar</a>&nbsp;for easy access. See&nbsp;<a href=\"#root/_help_u3YFHC9tQlpm\">Bookmarks</a>&nbsp;for more information.</li><li><em><strong>Shared</strong></em> toggles whether the current note is publicly accessible if you have a <a href=\"#root/_help_WOcw2SLH6tbX\">server instance</a> set up. See&nbsp;<a href=\"#root/_help_R9pX4DGra2Vt\">Sharing</a>&nbsp;for more information.</li><li><em><strong>Template</strong></em> toggles whether the current note is considered a template and can be used to easily create notes with the same content. See&nbsp;<a href=\"#root/_help_KC1HB96bqqHX\">Template</a>&nbsp;for more information.</li><li><em><strong>Language</strong></em> changes the main language of the current note, mostly useful for spell checking or right-to-left support. See&nbsp;<a href=\"#root/_help_veGu4faJErEM\">Content language &amp; Right-to-left support</a>&nbsp;for more information.</li></ul><h3>Owned Attributes</h3><p>This section allows editing the labels and relations of a note. For more information, see&nbsp;<a href=\"#root/_help_zEY4DaJG4YT5\">Attributes</a>.</p><p>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&nbsp;<a href=\"#root/_help_OFXdgB2nNk1F\">Promoted Attributes</a>).</p><h3>Inherited Attributes</h3><p>This section displays the attributes which are applied to this note via&nbsp;<a href=\"#root/_help_bwZpz2ajCEwO\">Attribute Inheritance</a>. It is not possible to alter the attributes from this section.</p><h3>Note Paths</h3><p>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&nbsp;<a href=\"#root/_help_oPVyFC7WL2Lp\">Note Tree</a>) See&nbsp;<a href=\"#root/_help_IakOLONlIfGI\">Cloning Notes</a>&nbsp;for more information.</p><h3>Note Map</h3><p>The note map displays all the relations of the current note to other notes, as well as the subtree structure. See&nbsp;<a href=\"#root/_help_oPVyFC7WL2Lp\">Note Tree</a>&nbsp;for more information.</p><h3>Similar Notes</h3><p>This section lists all the notes that are similar to the current one. See&nbsp;<a href=\"#root/_help_xWtq5NUHOwql\">Similar Notes</a>&nbsp;for more information.</p><h3>Note Info</h3><p>This section displays information about the current note:</p><ul><li>The <a href=\"#root/_help_m1lbrzyKDaRB\">internal ID</a> of the note.</li><li>The <a href=\"#root/_help_KSZ04uQ2D1St\">type of the note</a>, as well as its MIME type (used mostly for exporting notes).</li><li>The created and modification dates.</li><li>The estimated size of the note in the&nbsp;<a href=\"#root/_help_wX4HbRucYSDD\">Database</a>, as well as its children count and size.</li></ul><h3>Edited notes</h3><p>This section pops automatically when entering a <a href=\"#root/_help_l0tKav7yLHGF\">day note</a> and shows the notes that were edited that day.</p><p>It is possible to disable this behavior from settings, by going to&nbsp;<a class=\"reference-link\" href=\"#root/_hidden/_options/_optionsAppearance\">Appearance</a>&nbsp;settings and looking for the <em>Ribbon widgets</em> section.</p>",
@@ -113,14 +113,14 @@
"_help_4n4oQUVbnOxa": "<p>Collapsible blocks are sections of content that can be expanded and collapsed, letting you hide detail until it's needed.</p><p>A collapsible block consists of:</p><ul><li><strong>An always-visible header</strong>, containing:<ul><li><strong>An arrow</strong> that expands or collapses the block when clicked.</li><li><strong>A summary line</strong> that acts as the block's title. With the cursor in the summary line, press <kbd>Ctrl</kbd>+<kbd>Enter</kbd> to expand or collapse the block.</li><li><strong>A drag handle</strong> for repositioning the block within the note.</li></ul></li><li><strong>The body</strong>, which is hidden while the block is collapsed. It can hold any kind of content, including nested collapsible blocks. To break out of a collapsible block and continue typing outside it, press <kbd>Enter</kbd> twice at the end of the block.</li></ul><p>You can use the arrow keys to move freely with the cursor between the summary line, the block's body, and the text around the block.</p><h2>Inserting a collapsible block</h2><p>In the formatting bar, go to “<strong>Insert” → “Collapsible Block”</strong>.</p><aside class=\"admonition tip\"><p>Place multiple collapsible blocks one after another to create an accordion, where each block can be expanded or collapsed independently.</p></aside>",
"_help_veGu4faJErEM": "<p><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Content%20language%20%26%20Right-to-left%20support_image.jpg\"></p><p>The content language determines:</p><ul><li>The spell-checking of the note, when in a browser. The desktop installation has a dedicated spellchecking section.</li><li>Whether the text is displayed from right-to-left, for languages such as Arabic, Hebrew, etc.</li><li>How typed quotes are <a href=\"#root/_help_oI7GoyilXXAr\">automatically replaced</a> (e.g. English uses <code spellcheck=\"false\">“text”</code>, whereas some languages use <code spellcheck=\"false\">«text»</code>).</li></ul><h2>Setting the language of a single note</h2><p>To set the language of the content of a&nbsp;<a class=\"reference-link\" href=\"#root/_help_iPIMuisry3hd\">Text</a>&nbsp;note:</p><ul><li>On the new layout, there is a language selector in the&nbsp;<a class=\"reference-link\" href=\"#root/_help_AlJ73vBCjWDw\">Status bar</a>.</li><li>On the old layout, go to the&nbsp;<a class=\"reference-link\" href=\"#root/_help_BlN9DFI679QC\">Ribbon</a>&nbsp;→ <em>Basic Properties</em> and look for the <em>Language</em> field.</li></ul><h2>Adjusting the list of languages</h2><p>By default there will be no language configured, they can be configured by going to&nbsp;<a class=\"reference-link\" href=\"#root/_help_4TIF1oA4VQRO\">Options</a>&nbsp;→ Language &amp; Region or by selecting the <em>Configure languages</em> item when setting the language.</p><h2>Default content language</h2><p>Notes that do not have a language of their own follow&nbsp;<a class=\"reference-link\" href=\"#root/_help_4TIF1oA4VQRO\">Options</a>&nbsp;→ <em>Language &amp; Region</em> → <em>Default content language</em>. It is set to English initially, and can be set to any content language, or to <em>Based on the application's language</em>.</p><p>If a note has a language set, it always takes precedence over the default.</p>",
"_help_2x0ZAX9ePtzV": "<figure class=\"image image_resized image-style-align-right\" style=\"width:64.63%;\"><img style=\"aspect-ratio:812/585;\" src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Cut%20to%20subnote_cut-to-subnote.gif\" width=\"812\" height=\"585\"></figure><p>When editing a document that becomes too large, you can split it into sub-notes:</p><ol><li>Select the desired text and cut it to the clipboard.</li><li>Create a new sub-note and name it.</li><li>Paste the content from the clipboard into the sub-note.</li></ol><p>Trilium can automate this process. Select some text within the note, and in the selection toolbar, click the scissors icon for the \"cut &amp; pasted selection to sub-note\" action. The heading is automatically detected and the new sub-note is named accordingly. You can also assign a keyboard shortcut for this action. This functionality is available through the block toolbar icon.</p>",
- "_help_UYuUB1ZekNQU": "<h3>Inline code</h3><p>Inline code formats text using a monospace font to indicate technical content in a sentence such as code, paths, etc.</p><p><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/5_Developer-specific%20formatting_image.png\"></p><p>Example of inline code being used to illustrate file system paths as well as shell commands (<code spellcheck=\"false\">git</code> in this case).</p><p>To insert an inline code:</p><ul><li>Via the&nbsp;<a href=\"#root/_help_nRhnJkTT8cPs\">Formatting toolbar</a>, look for the <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/3_Developer-specific%20formatting_image.png\"> button.</li><li>Type `code` where <code spellcheck=\"false\">code</code> is the desired text to be automatically formatted as inline code.</li></ul><h3>Code blocks</h3><p>Code blocks display a snippet of code as a dedicated block:</p><p><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/4_Developer-specific%20formatting_image.jpg\"></p><p>A code block with JavaScript syntax highlight enabled.</p><p>Note that these are not meant for very large portions of code. Use the dedicated&nbsp;<a href=\"#root/_help_6f9hih2hXXZk\">Code</a>&nbsp;note type instead.</p><p>See the dedicated documentation for more information:&nbsp;<a href=\"#root/_help_QxEyIjRBizuC\">Code blocks</a></p><h3>Keyboard shortcuts</h3><p>This allows marking a portion of text as a shortcut key.</p><p><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Developer-specific%20formatting_image.jpg\"></p><p>To apply this style, press the <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/6_Developer-specific%20formatting_image.png\"> button in <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/1_Developer-specific%20formatting_image.png\"> group from the&nbsp;<a href=\"#root/_help_nRhnJkTT8cPs\">Formatting toolbar</a>. On the floating toolbar, the buttons appear when selecting a text.</p><p>Alternatively, press the <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>K</kbd> combination to apply keyboard shortcut formatting to the current text selection.</p><p>The formatting can be removed by pressing again the button (from the UI or from the keyboard), or by using the <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/2_Developer-specific%20formatting_image.png\" width=\"17\" height=\"16\"> <em>Remove formatting</em> button.</p>",
- "_help_QxEyIjRBizuC": "<p><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Developer-specific%20formatting/1_Code%20blocks_image.jpg\"></p><p>The code blocks feature allows entering pieces of code in text notes.</p><p>Note that this feature is meant for generally small snippets of code. For larger files such as an entire log, see the&nbsp;<a class=\"reference-link\" href=\"#root/_help_6f9hih2hXXZk\">Code</a>&nbsp;note type instead.</p><h2>Inserting a code block</h2><ul><li>Via the&nbsp;<a class=\"reference-link\" href=\"#root/_help_nRhnJkTT8cPs\">Formatting toolbar</a>, look for the <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Developer-specific%20formatting/Code%20blocks_image.png\"> button.<ul><li>Pressing directly on the icon will insert a code block with the language that was selected most recently. If this is the first time a code block is inserted, the language will be “Auto-detected” by default.</li><li>Pressing the arrow next to the icon, which will show a popup with the available languages.</li></ul></li><li>Type <code spellcheck=\"false\">```</code> (as in Markdown).<ul><li>Note that it's not possible to specify the language, as it will default to the last selected language.</li></ul></li></ul><h2>Exiting out of the code block</h2><ul><li>To exit out of a code block and enter a normal paragraph, move the cursor at the end of the code block and press <kbd>Enter</kbd> twice.</li><li>Similarly, to insert a paragraph above the note block, move the cursor at the beginning of the code block and press <kbd>Enter</kbd> twice.</li></ul><aside class=\"admonition note\"><p>If you've pasted a code block with a more complex HTML structure, exiting out of the code block by pressing <kbd>Enter</kbd> multiple times might not work. In that case the best approach is to delete the code block entirely and use <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>V</kbd> (paste as plain text).</p></aside><h2>Syntax highlighting &amp; color schemes</h2><p>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&nbsp;<a class=\"reference-link\" href=\"#root/_help_6f9hih2hXXZk\">Code</a>&nbsp;notes as different technologies are involved.</p><p>Interaction:</p><ul><li>When the language is set to <em>Auto-detected</em> (by default), Trilium will try to identify the programming language (or similar) that corresponds to the given snippet of text and highlight it. If this is problematic, consider changing the language of the code block manually.</li><li>When the language is set to <em>Plain text</em>, there will be no syntax highlighting.</li></ul><p>Note that when editing a text note, syntax highlighting is automatically disabled if the code block is too big (somewhere around 500 lines). This value is currently not configurable. For&nbsp;<a class=\"reference-link\" href=\"#root/_help_CoFPLs3dRlXc\">Read-Only Notes</a>, this limitation is not applied.</p><p>In order to configure this new feature, a section has been added in Options → Appearance to control the syntax highlighting. There the color scheme can be chosen, from a builtin selection of themes from Highlight.js.</p><ul><li>It is possible to disable the syntax highlighting for all the notes by selecting “No syntax highlighting” in the “Color scheme” option.</li><li>Word wrapping is disabled by default, but can be configured from the same section.</li><li>The tab width can also be adjusted from Options.</li></ul><aside class=\"admonition note\"><p><strong>Context regarding syntax highlighting</strong></p><p>In order to achieve the syntax highlight, the Highlight.js library is being used. Do note that support for syntax highlighting in code blocks is not a supported feature of the text editor we are using CKEditor), but rather a hack which makes use of the highlights API (used for highlighting search results for example). Nevertheless, we haven't noticed any major issues during the development of the feature, but feel free to report any issues you might have.</p><p>Most of the work to achieve the syntax highlight itself was already done by <a href=\"https://github.com/antoniotejada\">antoniotejada</a> in <a href=\"https://github.com/antoniotejada/Trilium-SyntaxHighlightWidget\">https://github.com/antoniotejada/Trilium-SyntaxHighlightWidget</a>. On our side we added customization but also additional functionality.</p></aside><h3>Migrating from existing syntax highlight plugins</h3><p>If you are already using a syntax highlighting plugin such as the <a href=\"https://github.com/antoniotejada/Trilium-SyntaxHighlightWidget\">Trilium-SyntaxHighlightWidget</a> we are basing off of, it is important to disable that plugin before upgrading in order for it not to conflict with our implementation.</p><p>Should you encounter any issues after the migration, try running Trilium in safe mode.</p><h2>Changing the language of a code block</h2><p>Simply click anywhere inside the code block and press again the code block button in the&nbsp;<a class=\"reference-link\" href=\"#root/_help_nRhnJkTT8cPs\">Formatting toolbar</a>:<br><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Developer-specific%20formatting/2_Code%20blocks_image.png\"></p><h2>Adjusting the list of languages</h2><p>The code blocks feature shares the list of languages with the&nbsp;<a class=\"reference-link\" href=\"#root/_help_6f9hih2hXXZk\">Code</a>&nbsp;note type.</p><p>The supported languages can be adjusted by going to&nbsp;<a class=\"reference-link\" href=\"#root/_help_4TIF1oA4VQRO\">Options</a>, then <em>Code Notes</em> and looking for the <em>Available MIME types in the dropdown</em> section. Simply check any of the items to add them to the list, or uncheck them to remove them from the list.</p><p>Note that the list of languages is not immediately refreshed, you'd have to manually <a href=\"#root/_help_s8alTXmpFR61\">refresh the application</a>.</p>",
+ "_help_UYuUB1ZekNQU": "<h3>Inline code</h3><p>Inline code formats text using a monospace font to indicate technical content in a sentence such as code, paths, etc.</p><p><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/3_Developer-specific%20formatting_image.png\"></p><p>Example of inline code being used to illustrate file system paths as well as shell commands (<code spellcheck=\"false\">git</code> in this case).</p><p>To insert an inline code:</p><ul><li>Via the&nbsp;<a href=\"#root/_help_nRhnJkTT8cPs\">Formatting toolbar</a>, look for the <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/2_Developer-specific%20formatting_image.png\"> button.</li><li>Type `code` where <code spellcheck=\"false\">code</code> is the desired text to be automatically formatted as inline code.</li></ul><h3>Code blocks</h3><p>Code blocks display a snippet of code as a dedicated block:</p><p><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/1_Developer-specific%20formatting_image.jpg\"></p><p>A code block with JavaScript syntax highlight enabled.</p><p>Note that these are not meant for very large portions of code. Use the dedicated&nbsp;<a href=\"#root/_help_6f9hih2hXXZk\">Code</a>&nbsp;note type instead.</p><p>See the dedicated documentation for more information:&nbsp;<a href=\"#root/_help_QxEyIjRBizuC\">Code blocks</a></p><h3>Keyboard shortcuts</h3><p>This allows marking a portion of text as a shortcut key.</p><p><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Developer-specific%20formatting_image.jpg\"></p><p>To apply this style, press the <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/4_Developer-specific%20formatting_image.png\"> button in <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Developer-specific%20formatting_image.png\"> group from the&nbsp;<a href=\"#root/_help_nRhnJkTT8cPs\">Formatting toolbar</a>. On the floating toolbar, the buttons appear when selecting a text.</p><p>Alternatively, press the <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>K</kbd> combination to apply keyboard shortcut formatting to the current text selection.</p><p>The formatting can be removed by pressing again the button (from the UI or from the keyboard), or by using the <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/1_Developer-specific%20formatting_image.png\" width=\"17\" height=\"16\"> <em>Remove formatting</em> button.</p>",
+ "_help_QxEyIjRBizuC": "<p><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Developer-specific%20formatting/Code%20blocks_image.jpg\"></p><p>The code blocks feature allows entering pieces of code in text notes.</p><p>Note that this feature is meant for generally small snippets of code. For larger files such as an entire log, see the&nbsp;<a class=\"reference-link\" href=\"#root/_help_6f9hih2hXXZk\">Code</a>&nbsp;note type instead.</p><h2>Inserting a code block</h2><ul><li>Via the&nbsp;<a class=\"reference-link\" href=\"#root/_help_nRhnJkTT8cPs\">Formatting toolbar</a>, look for the <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Developer-specific%20formatting/Code%20blocks_image.png\"> button.<ul><li>Pressing directly on the icon will insert a code block with the language that was selected most recently. If this is the first time a code block is inserted, the language will be “Auto-detected” by default.</li><li>Pressing the arrow next to the icon, which will show a popup with the available languages.</li></ul></li><li>Type <code spellcheck=\"false\">```</code> (as in Markdown).<ul><li>Note that it's not possible to specify the language, as it will default to the last selected language.</li></ul></li></ul><h2>Exiting out of the code block</h2><ul><li>To exit out of a code block and enter a normal paragraph, move the cursor at the end of the code block and press <kbd>Enter</kbd> twice.</li><li>Similarly, to insert a paragraph above the note block, move the cursor at the beginning of the code block and press <kbd>Enter</kbd> twice.</li></ul><aside class=\"admonition note\"><p>If you've pasted a code block with a more complex HTML structure, exiting out of the code block by pressing <kbd>Enter</kbd> multiple times might not work. In that case the best approach is to delete the code block entirely and use <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>V</kbd> (paste as plain text).</p></aside><h2>Syntax highlighting &amp; color schemes</h2><p>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&nbsp;<a class=\"reference-link\" href=\"#root/_help_6f9hih2hXXZk\">Code</a>&nbsp;notes as different technologies are involved.</p><p>Interaction:</p><ul><li>When the language is set to <em>Auto-detected</em> (by default), Trilium will try to identify the programming language (or similar) that corresponds to the given snippet of text and highlight it. If this is problematic, consider changing the language of the code block manually.</li><li>When the language is set to <em>Plain text</em>, there will be no syntax highlighting.</li></ul><p>Note that when editing a text note, syntax highlighting is automatically disabled if the code block is too big (somewhere around 500 lines). This value is currently not configurable. For&nbsp;<a class=\"reference-link\" href=\"#root/_help_CoFPLs3dRlXc\">Read-Only Notes</a>, this limitation is not applied.</p><p>In order to configure this new feature, a section has been added in Options → Appearance to control the syntax highlighting. There the color scheme can be chosen, from a builtin selection of themes from Highlight.js.</p><ul><li>It is possible to disable the syntax highlighting for all the notes by selecting “No syntax highlighting” in the “Color scheme” option.</li><li>Word wrapping is disabled by default, but can be configured from the same section.</li><li>The tab width can also be adjusted from Options.</li></ul><aside class=\"admonition note\"><p><strong>Context regarding syntax highlighting</strong></p><p>In order to achieve the syntax highlight, the Highlight.js library is being used. Do note that support for syntax highlighting in code blocks is not a supported feature of the text editor we are using CKEditor), but rather a hack which makes use of the highlights API (used for highlighting search results for example). Nevertheless, we haven't noticed any major issues during the development of the feature, but feel free to report any issues you might have.</p><p>Most of the work to achieve the syntax highlight itself was already done by <a href=\"https://github.com/antoniotejada\">antoniotejada</a> in <a href=\"https://github.com/antoniotejada/Trilium-SyntaxHighlightWidget\">https://github.com/antoniotejada/Trilium-SyntaxHighlightWidget</a>. On our side we added customization but also additional functionality.</p></aside><h3>Migrating from existing syntax highlight plugins</h3><p>If you are already using a syntax highlighting plugin such as the <a href=\"https://github.com/antoniotejada/Trilium-SyntaxHighlightWidget\">Trilium-SyntaxHighlightWidget</a> we are basing off of, it is important to disable that plugin before upgrading in order for it not to conflict with our implementation.</p><p>Should you encounter any issues after the migration, try running Trilium in safe mode.</p><h2>Changing the language of a code block</h2><p>Simply click anywhere inside the code block and press again the code block button in the&nbsp;<a class=\"reference-link\" href=\"#root/_help_nRhnJkTT8cPs\">Formatting toolbar</a>:<br><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Developer-specific%20formatting/1_Code%20blocks_image.png\"></p><h2>Adjusting the list of languages</h2><p>The code blocks feature shares the list of languages with the&nbsp;<a class=\"reference-link\" href=\"#root/_help_6f9hih2hXXZk\">Code</a>&nbsp;note type.</p><p>The supported languages can be adjusted by going to&nbsp;<a class=\"reference-link\" href=\"#root/_help_4TIF1oA4VQRO\">Options</a>, then <em>Code Notes</em> and looking for the <em>Available MIME types in the dropdown</em> section. Simply check any of the items to add them to the list, or uncheck them to remove them from the list.</p><p>Note that the list of languages is not immediately refreshed, you'd have to manually <a href=\"#root/_help_s8alTXmpFR61\">refresh the application</a>.</p>",
"_help_AgjCISero73a": "<figure class=\"image image-style-align-right\"><img style=\"aspect-ratio:199/187;\" src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/1_Footnotes_image.png\" width=\"199\" height=\"187\"></figure><p>Footnotes are a good place to insert references to a paragraph or details that are displayed at the bottom of the note.</p><h2>Interaction</h2><ul><li>To insert a new footnote, press <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Footnotes_image.png\" width=\"17\" height=\"12\"> (or press the right arrow and select <em>New footnote</em>).</li><li>To insert a reference to an existing footnote, press the right arrow and select <em>Insert footnote</em>, followed by the number of the footnote to insert.</li><li>Hovering over a reference (e.g. <code spellcheck=\"false\">[1]</code>) will display the content of the footnote in a tooltip for easy reference.</li><li>Clicking on a reference in the text (e.g. <code spellcheck=\"false\">[1]</code>) will navigate to the corresponding footnote.</li><li>Similarly, clicking on the <code spellcheck=\"false\">^</code> button of a footnote will navigate to the corresponding reference in the text.</li></ul>",
"_help_5wZallV2Qo1t": "<figure class=\"image image-style-align-right\"><img style=\"aspect-ratio:220/76;\" src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Format%20Painter_image.png\" width=\"220\" height=\"76\"></figure><p>The Format Painter is a feature in text notes that allows users to copy the formatting of text (such as <strong>bold</strong>, <em>italic</em>, <del>Strikethrough</del>, etc.) and apply it to other parts of the document. It helps maintain consistent formatting and accelerates the creation of rich content.</p><h2>Usage Instructions</h2><p>Click the text that you want to copy the formatting from and use the paint formatting toolbar button (<img class=\"image_resized\" style=\"aspect-ratio:150/150;width:2.7%;\" src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Format%20Painter_746436a2e1.svg\" alt=\"Format painter\" width=\"150\" height=\"150\">) to copy the style. Then select the target text with your mouse to apply the formatting.</p><ul><li><strong>To copy the formatting</strong>: Place the cursor inside text with some formatting and click the paint formatting toolbar button. The mouse cursor changes to indicate the painter is armed.</li><li><strong>To paint with the copied formatting</strong>: Select the target text with your mouse. The formatting is applied when you release the button, and the painter disarms — the cursor returns to normal.</li><li><strong>To cancel without painting</strong>: Click the toolbar button again or press <kbd>Escape</kbd>.</li></ul><h2>Limitations</h2><ol><li>Painting with block-level formatting (like headings or image styles) is not supported yet. This is because, in&nbsp;<a class=\"reference-link\" href=\"#root/_help_MI26XDLSAlCD\">CKEditor</a>, they are considered a part of the content rather than text formatting.</li><li>The painter applies to a selection, not to a word: clicking a single word does not format it. A click only primes the caret, so text you type there takes the copied formatting.</li><li>The painter is one-shot; each paint requires copying the formatting again.</li></ol>",
"_help_nRhnJkTT8cPs": "<p>Trilium allows two different editing experiences for text notes, based on your preference.</p><p>The type of formatting toolbar can be changed by going to&nbsp;<a class=\"reference-link\" href=\"#root/_help_4TIF1oA4VQRO\">Options</a>&nbsp;and then looking for the&nbsp;<a class=\"reference-link\" href=\"#root/_options/_optionsTextNotes\">Text Notes</a>&nbsp;section. In it, look for the <em>Formatting toolbar</em> category.</p><h2>Floating</h2><p>The floating bar is a more minimalist option, in which the formatting is hidden behind two different popups.</p><h3>Block-level popup</h3><p>The first popup is the block-level popup. This will appear to the left of the current paragraph you are currently editing, as a sequence of dots:<br><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/1_Formatting%20toolbar_image.jpg\"></p><p>Clicking this popup will reveal the formatting options that are specific to the entire paragraph, such as setting a heading, lists, tables, etc.</p><p><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/3_Formatting%20toolbar_image.jpg\"></p><h3>Inline popup</h3><p>The inline popup appears automatically when selecting a text:</p><p><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Formatting%20toolbar_image.jpg\"></p><p>All the options here apply only to the selected portion of text, such as changing the font size, or making the text bold.</p><h2>Fixed</h2><p>The fixed formatting offers a more traditional editing paradigm, usually useful if a lot of formatting is needed.</p><p>All the options are combined into a single toolbar that will appear as part of the&nbsp;<a href=\"#root/_help_BlN9DFI679QC\">Ribbon</a>.</p><p><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/2_Formatting%20toolbar_image.jpg\"></p><p>By default, if the toolbar does not fit on the screen, the rest of the options will be grouped into a single option at the end. It is possible to display items on multiple lines by checking the corresponding option in the <em>Formatting toolbar</em> section.</p>",
"_help_Gr6xFaF6ioJ5": "<h2>Headings</h2><figure class=\"image image-style-align-right\"><img style=\"aspect-ratio:255/284;\" src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/3_General%20formatting_image.png\" width=\"255\" height=\"284\"></figure><p>Trilium provides headings to define sections within text. Headings are numbered from 2 to 6.</p><p>The reason why Heading 1 is missing from the list is that it is being reserved for the title of note.</p><p>To turn a heading back into a normal text, select <em>Paragraph</em> from the list.</p><p>Apart from using the UI, it is also possible to quickly insert headings using the Markdown-like shortcuts:</p><ul><li><code spellcheck=\"false\">##</code> for Heading 2</li><li><code spellcheck=\"false\">###</code> for Heading 3</li><li><code spellcheck=\"false\">####</code> for Heading 4</li><li><code spellcheck=\"false\">#####</code> for Heading 5</li><li><code spellcheck=\"false\">######</code> for Heading 6</li></ul><h2>Font size</h2><figure class=\"image image-style-align-right\"><img style=\"aspect-ratio:363/249;\" src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/General%20formatting_image.png\" width=\"363\" height=\"249\"></figure><p>One way to highlight a portion of text is to increase the size of the font.</p><p>To do so, select some text and choose an option from the <em>Font size</em> selector (as pictured to the right).</p><p>Unlike other text editors such as Microsoft Word, the font size is relative (i.e. “Tiny”, “Small” instead of a number like 12).</p><p>Avoid using this feature just to simply make all text bigger. In that case it's generally better to adjust the font size for all notes in&nbsp;<a class=\"reference-link\" href=\"#root/_help_4TIF1oA4VQRO\">Options</a>&nbsp;or by zooming.</p><h2>Bold, italic, underline, strike-through</h2><figure class=\"image image-style-align-right\"><img style=\"aspect-ratio:215/71;\" src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/4_General%20formatting_image.png\" width=\"215\" height=\"71\"></figure><p>Text can be formatted as <strong>Bold,</strong> <em>Italic,</em> Underline or <del>Strike-through</del> via the dedicated buttons in the formatting toolbar.</p><p>This formatting can be easily removed using the <em>Remove formatting</em> item.</p><p>The following keyboard shortcuts can be used here:</p><ul><li><kbd>Ctrl</kbd>+<kbd>B</kbd> for bold</li><li><kbd>Ctrl</kbd>+<kbd>I</kbd> for italic</li><li><kbd>Ctrl</kbd>+<kbd>U</kbd> for underline</li></ul><p>Alternatively, Markdown-like formatting can be used:</p><ul><li><strong>Bold</strong>: Type <code spellcheck=\"false\">**text**</code> or <code spellcheck=\"false\">__text__</code></li><li><em>Italic</em>: Type <code spellcheck=\"false\">*text*</code> or <code spellcheck=\"false\">_text_</code></li><li><del>Strikethrough</del>: Type <code spellcheck=\"false\">~~text~~</code></li></ul><h2>Superscript, subscript</h2><p>This allows writing superscript or subscript text.</p><p>This is mostly useful for units of measure (e.g. cm3 for cubic centimeters) and chemical notations (e.g. NaHCO3)</p><p>For mathematical formulas, prefer the&nbsp;<a class=\"reference-link\" href=\"#root/_help_YfYAtQBcfo5V\">Math Equations</a>&nbsp;feature instead.</p><h2>Font color and background color</h2><figure class=\"image image-style-align-right\"><img style=\"aspect-ratio:167/204;\" src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/2_General%20formatting_image.png\" width=\"167\" height=\"204\"></figure><p>Selected text can be colored with one of the predefined colors from a palette or any color can be selected using the color picker.</p><p>Once there is at least one color defined in the document, it will appear in the list for easy reuse.</p><p>When selecting a foreground or a background color, consider the contrast if switching between a dark theme or a light <a href=\"#root/_help_Wy267RK4M69c\">theme</a>.</p><p>To remove either the background or foreground color of a text, select the corresponding formatting button and press <em>Remove color</em> or use the <em>Remove formatting</em> toolbar item.</p><h2>Remove formatting</h2><p>The <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/1_General%20formatting_image.png\" width=\"17\" height=\"16\"> <em>Remove formatting</em> button is a quick way to eliminate the general formatting styling of a particular text.</p><p>Simply select the text and press the button to remove the formatting (bold, italic, colors, sizes, etc.). If the text does not have any removable formatting, the button will appear disabled.</p><p>Note that heading styles are not taken into consideration, these must be manually changed back to a paragraph according to the <em>Headings</em> section.</p><p>When pasting content that comes with undesired formatting, an alternative to pasting and then removing formatting is pasting as plain text via <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>V</kbd>.</p><h2>Format painter</h2><p>The&nbsp;<a class=\"reference-link\" href=\"#root/_help_5wZallV2Qo1t\">Format Painter</a>&nbsp;allows users to copy the formatting of text (such as bold, italic, Strikethrough, etc.) and apply it to other parts of the document. It helps maintain consistent formatting and accelerates the creation of rich content.</p><h2>Support for Markdown</h2><p>When exported to&nbsp;<a class=\"reference-link\" href=\"#root/_help_Oau6X9rCuegd\">Markdown</a>, most of the general formatting is maintained such as headings, bold, italic, underline, etc.</p>",
"_help_AxshuNRegLAv": "<aside class=\"admonition note\"><p>This page has been relocated to&nbsp;<a class=\"reference-link\" href=\"#root/_help_2dcGDhp9WFKb\">Outline tab</a>.</p></aside>",
- "_help_mT0HEkOsz6i1": "<p>Trilium supports storing and displaying images. Supported formats are PNG, JPEG, GIF, BMP, WebP, AVIF and SVG.</p><p>An image can be uploaded in the form of note's <a href=\"#root/_help_0vhv7lsOLy82\">attachment</a> or as a standalone <a href=\"#root/_help_kBrnXNG3Hplm\">note</a> placed into the <a href=\"#root/_help_kBrnXNG3Hplm\">note tree</a>. Its reference can be copied into a text note, in order to display it in the text itself.</p><h2>Uploading images</h2><p>To add an image to the note:</p><ul><li>Simply drag it from file explorer onto the note editor inside Trilium and the image will be uploaded.</li><li>Alternatively, from the&nbsp;<a class=\"reference-link\" href=\"#root/_help_nRhnJkTT8cPs\">Formatting toolbar</a>&nbsp;look for the <em>Insert image</em> icon.</li><li>You can also copy and paste an image from web (see section below).</li></ul><h2>Clipboard &amp; automatic download of images</h2><p>Trilium has a special handling for images copied to and pasted from the clipboard.</p><ul><li><p>For a mix of text and images, the images are downloaded automatically by the server (or desktop app, depending on what is being used).</p><ul><li>This means that the image must be publicly accessible and reachable from wherever Trilium is running. Inaccessible images will end up as broken images.</li></ul></li><li><p>If a single image is pasted into Trilium, it will prefer the image that comes in the clipboard. This makes it possible to copy images that Trilium would not otherwise be able to reach, such as Google Chat, Slack, etc.</p></li><li><p>When a text with images is copied from Trilium and pasted in another app (such as Microsoft Word or LibreOffice Writer), the images will be preserved.</p></li></ul><p>The automatic download of images is enabled by default and can be toggled from&nbsp;<a class=\"reference-link\" href=\"#root/_help_4TIF1oA4VQRO\">Options</a>&nbsp;→ <em>Media</em> → <em>Download images automatically.</em></p><h2>Configuring the images</h2><p>Clicking on an image will reveal a popup with multiple options:<br><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/7_Images_image.png\"></p><h3>Alignment</h3><p>The first set of options configure the alignment are, in order:</p><figure class=\"table\"><table>\n<thead>\n<tr>\n<th>Icon</th>\n<th>Option</th>\n<th>Preview</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/5_Images_image.png\"></td>\n<td>Inline</td>\n<td><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/1_Images_image.jpg\"></td>\n<td>As the name suggests, the name can be put inside a paragraph and moved around similarly as if it was a block of text. Use drag &amp; drop or cut-paste to move it around.</td>\n</tr>\n<tr>\n<td><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/8_Images_image.png\"></td>\n<td>Centered image</td>\n<td><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/2_Images_image.jpg\"></td>\n<td>The image will be displayed as a block and centered, not allowing text in either the left or right of it.</td>\n</tr>\n<tr>\n<td><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/4_Images_image.png\"></td>\n<td>Wrap text</td>\n<td><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/6_Images_image.jpg\"></td>\n<td>The image will be displayed to the left or the right of the text.</td>\n</tr>\n<tr>\n<td><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Images_image.png\"></td>\n<td>Block align</td>\n<td><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/3_Images_image.jpg\"></td>\n<td>Similarly to <em>Centered image</em>, the image will be displayed as a block and aligned either to the left or to the right, but not allowing text to flow on either of its sides.</td>\n</tr>\n</tbody></table></figure><h2>Compression</h2><p>Since Trilium isn't really meant to be primary storage for image data, it attempts to compress and resize (with pretty aggressive settings) uploaded images before storing them to the database. You may then notice some quality degradation. Basic quality settings is available in&nbsp;<a class=\"reference-link\" href=\"#root/_help_4TIF1oA4VQRO\">Options</a>&nbsp;→ <em>Media</em>.</p><p>If you want to save images in their original resolution, it is recommended to save them as attachment to note (look for the contextual menu in&nbsp;<a class=\"reference-link\" href=\"#root/_help_8YBEPzcpUgxw\">Note buttons</a>&nbsp;→ <em>Import files</em>).</p><h2>Aligning images side-by-side</h2><p>There are generally two ways to display images side by side:</p><ul><li>If they are roughly the same size, simply make the two images in-line, according to the alignment section above. The images can be dragged &amp; dropped onto the same line.</li><li>If they are on different size, create a <a href=\"#root/_help_NdowYOC1GFKS\">table</a> with invisible borders.</li></ul>",
+ "_help_mT0HEkOsz6i1": "<p>Trilium supports storing and displaying images. Supported formats are PNG, JPEG, GIF, BMP, WebP, AVIF and SVG.</p><p>An image can be uploaded in the form of note's <a href=\"#root/_help_0vhv7lsOLy82\">attachment</a> or as a standalone <a href=\"#root/_help_kBrnXNG3Hplm\">note</a> placed into the <a href=\"#root/_help_kBrnXNG3Hplm\">note tree</a>. Its reference can be copied into a text note, in order to display it in the text itself.</p><h2>Uploading images</h2><p>To add an image to the note:</p><ul><li>Simply drag it from file explorer onto the note editor inside Trilium and the image will be uploaded.</li><li>Alternatively, from the&nbsp;<a class=\"reference-link\" href=\"#root/_help_nRhnJkTT8cPs\">Formatting toolbar</a>&nbsp;look for the <em>Insert image</em> icon.</li><li>You can also copy and paste an image from web (see section below).</li></ul><h2>Clipboard &amp; automatic download of images</h2><p>Trilium has a special handling for images copied to and pasted from the clipboard.</p><ul><li><p>For a mix of text and images, the images are downloaded automatically by the server (or desktop app, depending on what is being used).</p><ul><li>This means that the image must be publicly accessible and reachable from wherever Trilium is running. Inaccessible images will end up as broken images.</li></ul></li><li><p>If a single image is pasted into Trilium, it will prefer the image that comes in the clipboard. This makes it possible to copy images that Trilium would not otherwise be able to reach, such as Google Chat, Slack, etc.</p></li><li><p>When a text with images is copied from Trilium and pasted in another app (such as Microsoft Word or LibreOffice Writer), the images will be preserved.</p></li></ul><p>The automatic download of images is enabled by default and can be toggled from&nbsp;<a class=\"reference-link\" href=\"#root/_help_4TIF1oA4VQRO\">Options</a>&nbsp;→ <em>Media</em> → <em>Download images automatically.</em></p><h2>Configuring the images</h2><p>Clicking on an image will reveal a popup with multiple options:<br><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/3_Images_image.png\"></p><h3>Alignment</h3><p>The first set of options configure the alignment are, in order:</p><figure class=\"table\"><table>\n<thead>\n<tr>\n<th>Icon</th>\n<th>Option</th>\n<th>Preview</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/2_Images_image.png\"></td>\n<td>Inline</td>\n<td><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Images_image.jpg\"></td>\n<td>As the name suggests, the name can be put inside a paragraph and moved around similarly as if it was a block of text. Use drag &amp; drop or cut-paste to move it around.</td>\n</tr>\n<tr>\n<td><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/4_Images_image.png\"></td>\n<td>Centered image</td>\n<td><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/1_Images_image.jpg\"></td>\n<td>The image will be displayed as a block and centered, not allowing text in either the left or right of it.</td>\n</tr>\n<tr>\n<td><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/1_Images_image.png\"></td>\n<td>Wrap text</td>\n<td><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/3_Images_image.jpg\"></td>\n<td>The image will be displayed to the left or the right of the text.</td>\n</tr>\n<tr>\n<td><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Images_image.png\"></td>\n<td>Block align</td>\n<td><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/2_Images_image.jpg\"></td>\n<td>Similarly to <em>Centered image</em>, the image will be displayed as a block and aligned either to the left or to the right, but not allowing text to flow on either of its sides.</td>\n</tr>\n</tbody></table></figure><h2>Compression</h2><p>Since Trilium isn't really meant to be primary storage for image data, it attempts to compress and resize (with pretty aggressive settings) uploaded images before storing them to the database. You may then notice some quality degradation. Basic quality settings is available in&nbsp;<a class=\"reference-link\" href=\"#root/_help_4TIF1oA4VQRO\">Options</a>&nbsp;→ <em>Media</em>.</p><p>If you want to save images in their original resolution, it is recommended to save them as attachment to note (look for the contextual menu in&nbsp;<a class=\"reference-link\" href=\"#root/_help_8YBEPzcpUgxw\">Note buttons</a>&nbsp;→ <em>Import files</em>).</p><h2>Aligning images side-by-side</h2><p>There are generally two ways to display images side by side:</p><ul><li>If they are roughly the same size, simply make the two images in-line, according to the alignment section above. The images can be dragged &amp; dropped onto the same line.</li><li>If they are on different size, create a <a href=\"#root/_help_NdowYOC1GFKS\">table</a> with invisible borders.</li></ul>",
"_help_0Ofbk1aSuVRu": "<figure class=\"image image-style-align-right image_resized\" style=\"width:50.47%;\"><img style=\"aspect-ratio:880/553;\" src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Images/Image%20references_image.png\" width=\"880\" height=\"553\"></figure><p>Image references are an easy way to embed the preview of another note type into a&nbsp;<a class=\"reference-link\" href=\"#root/_help_iPIMuisry3hd\">Text</a>&nbsp;note.</p><h2>Supported note types</h2><ul><li><a class=\"reference-link\" href=\"#root/_help_grjYqerjn243\">Canvas</a></li><li><a class=\"reference-link\" href=\"#root/_help_s1aBHPd79XYj\">Mermaid Diagrams</a></li><li><a class=\"reference-link\" href=\"#root/_help_gBbsAeiuUxI5\">Mind Map</a></li></ul><h2>Steps</h2><ol><li>Go to one of the supported notes (listed above) and look for the <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Images/1_Image%20references_image.png\"> button in the&nbsp;<a class=\"reference-link\" href=\"#root/_help_XpOYSgsLkTJy\">Floating buttons</a>&nbsp;area.</li><li>Go to a&nbsp;<a class=\"reference-link\" href=\"#root/_help_iPIMuisry3hd\">Text</a>&nbsp;note and use the Paste function to insert the reference to that note.</li></ol><h2>Interaction</h2><ul><li>Double-clicking an image reference from a text note will automatically open the target note.</li><li>Clicking an image reference while <kbd>Ctrl</kbd> is pressed will open the target note in a new tab.</li><li>Modifying the target note should also update the image reference. If that doesn't happen, consider&nbsp;<a class=\"reference-link\" href=\"#root/_help_s8alTXmpFR61\">Refreshing the application</a>.</li></ul>",
"_help_nBAXQFj20hS1": "<p>Text notes can \"include\" another note as a read-only widget or an interactive widget, depending on the type of note.</p><p>This can be useful for e.g. including a dynamically generated chart (from scripts &amp; \"render HTML\" note) or other more advanced use cases.</p><h2>Including a note</h2><p>In the&nbsp;<a class=\"reference-link\" href=\"#root/_help_nRhnJkTT8cPs\">Formatting toolbar</a>, look for the <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Include%20Note_image.png\"> button. There is also a keyboard shortcut defined for it but it is not allocated by default.</p><h2>Included notes in the share functionality</h2><p>If a <a href=\"#root/_help_R9pX4DGra2Vt\">shared note</a> contains one or more included notes, they will be displayed in the content of the note as if they were part of the note itself.</p><p>For this to work, the included notes must also be shared, otherwise they will not be shown. However, the included notes can still be hidden from the note tree via <code spellcheck=\"false\">#shareHiddenFromTree</code>.</p><h2>Interactive notes</h2><p>Since v0.104.0, included notes might become interactive depending on their note type:</p><ul><li><a class=\"reference-link\" href=\"#root/_help_GTwFsgaA0lCt\">Collections</a>&nbsp;(e.g.&nbsp;<a class=\"reference-link\" href=\"#root/_help_81SGnPGMk7Xc\">Geo Map</a>) will render fully interactive, including creating new notes.</li><li><a class=\"reference-link\" href=\"#root/_help_m523cpzocqaD\">Saved Search</a>&nbsp;will also display the results.</li><li><a class=\"reference-link\" href=\"#root/_help_1vHRoWCEjj0L\">Web View</a>&nbsp;provides an interactive preview of the website.</li></ul>",
"_help_CohkqWQC1iBv": "<p>Press the <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/4_Insert%20buttons_image.png\" width=\"34\" height=\"16\"> button in the&nbsp;<a class=\"reference-link\" href=\"#root/_help_nRhnJkTT8cPs\">Formatting toolbar</a>&nbsp;to reveal special inserable items and blocks such as symbols, Math expressions and separators.</p><h2>Bookmarks</h2><p>See the dedicated&nbsp;<a class=\"reference-link\" href=\"#root/_help_oSuaNgyyKnhu\">Anchors</a>&nbsp;section.</p><h2>Emoji</h2><figure class=\"image image-style-align-right image_resized\" style=\"width:42.4%;\"><img style=\"aspect-ratio:366/410;\" src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Insert%20buttons_plus.png\" width=\"366\" height=\"410\"></figure><p>This feature allows inserting Unicode emoji characters. Simply select a category and a desired emoji to insert it.</p><p>Emojis can also be searched by their English name and the skin tone can be selected via a combo box to the right.</p><p>There is also the possibility of inserting emojis directly by typing <code spellcheck=\"false\">:</code> followed by a name of an emoji, triggering the display of a list of emojis. Simply use the arrow keys to select one and press <kbd>Enter</kbd> to insert it.</p><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/1_Insert%20buttons_plus.png\" width=\"272\" height=\"187\"><h2>Symbols</h2><figure class=\"image image-style-align-right\"><img style=\"aspect-ratio:346/322;\" src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/1_Insert%20buttons_image.png\" width=\"346\" height=\"322\"></figure><p>Pressing the <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/7_Insert%20buttons_image.png\" width=\"18\" height=\"15\"> button will reveal a popup window displaying a list of characters that are generally more difficult to insert directly from the keyboard, such as a subset of emojis, quotation characters, etc.</p><p>Interaction:</p><ul><li>Click on a character to insert it at the current cursor position.</li><li>The window can be dragged around by the top bar where the title is, to avoid it getting in the way of the text.</li><li>Click on the <em>Category</em> selector to filter the characters.</li></ul><h2>Math equations</h2><p>See the dedicated&nbsp;<a class=\"reference-link\" href=\"#root/_help_YfYAtQBcfo5V\">Math Equations</a>&nbsp;page.</p><h2>Mermaid diagram</h2><p>Press the <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/2_Insert%20buttons_image.png\" width=\"16\" height=\"17\"> button to create an inline Mermaid diagram.</p><p>This feature is quite similar to the&nbsp;<a class=\"reference-link\" href=\"#root/_help_s1aBHPd79XYj\">Mermaid Diagrams</a>&nbsp;note types and is meant as an alternative to it for simple diagrams. For more complex diagrams, use the&nbsp;<a class=\"reference-link\" href=\"#root/_help_nBAXQFj20hS1\">Include Note</a>&nbsp;feature for a dedicated Mermaid note.</p><figure class=\"image\"><img style=\"aspect-ratio:1174/358;\" src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/6_Insert%20buttons_image.png\" width=\"1174\" height=\"358\"></figure><h2>Horizontal ruler</h2><p>This feature will display a horizontal line, generally useful to separate different sections of the text. To do so, press the <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/5_Insert%20buttons_image.png\" width=\"18\" height=\"16\"> button in the&nbsp;<a class=\"reference-link\" href=\"#root/_help_nRhnJkTT8cPs\">Formatting toolbar</a>.</p><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/3_Insert%20buttons_image.png\" width=\"502\" height=\"95\"><p>Alternatively, it's possible to insert a horizontal ruler by typing <code spellcheck=\"false\">---</code>.</p><h2>Page break</h2><figure class=\"image image-style-align-right\"><img style=\"aspect-ratio:371/79;\" src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/8_Insert%20buttons_image.png\" width=\"371\" height=\"79\"></figure><p>Page breaks provide a way to force the next paragraph or block (table, image, etc.) to be displayed onto the next page when printing (either to a real printer to <a href=\"#root/_help_NRnIZmSMc5sj\">when exporting to PDF</a>).</p><p>Page breaks are marked in the editor with the words <em>Page break</em>, but they will not actually be shown when printed.</p><ul><li>To insert a page break, press the <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Insert%20buttons_image.png\" width=\"20\" height=\"19\"> in the formatting toolbar.</li><li>To insert many page breaks at once, insert a page break first, click on it and press <kbd>Ctrl</kbd>+<kbd>C</kbd>. Then use <kbd>Ctrl</kbd>+<kbd>V</kbd>, to paste as many times as needed.</li></ul>",
@@ -130,7 +130,7 @@
"_help_3IDVtesTQ8ds": "<p>An external link is a standard web link targeting for example a website. For example, <a href=\"https://en.wikipedia.org/wiki/South_China_Sea\">https://en.wikipedia.org/wiki/South_China_Sea</a> is an external link to a Wikipedia page.</p><p>To create a link without a custom text:</p><ul><li>Press <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Links/1_External%20links_image.png\" width=\"15\" height=\"16\"> in the&nbsp;<a class=\"reference-link\" href=\"#root/_help_nRhnJkTT8cPs\">Formatting toolbar</a>:<ul><li>A popup will appear, type or paste the URL in the box.</li><li>Press <kbd>Enter</kbd> or the check mark icon to confirm.</li></ul></li><li>Alternatively, press <kbd>Ctrl</kbd>+<kbd>K</kbd> to trigger the aforementioned popup.</li><li>A simpler way is to paste the raw link and press space to turn it automatically into a link.</li></ul><p>To create a link with a custom text:</p><ul><li>First, type and select the text which will be turned into a link.</li><li>Follow the previous steps to open the link interface (via the formatting toolbar, or <kbd>Ctrl</kbd>+<kbd>K</kbd>).</li><li>Alternatively, simply paste (<kbd>Ctrl</kbd>+<kbd>V</kbd>) over the selected text to turn it into a link.</li></ul><p>Once a link is inserted:</p><ul><li>The text inside the link can be changed if needed but the link itself will remain.</li><li>To modify the link, click on the link to display the popup and press the <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Links/External%20links_image.png\" width=\"18\" height=\"18\"> <em>Edit link</em> button.</li><li>To remove a link, click on it and press the <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Links/2_External%20links_image.png\" width=\"18\" height=\"18\"> <em>Unlink</em> button.</li></ul><p>You can follow external link by either double clicking (will open new tab/window) it or right clicking on them and choosing \"Open in new tab\".</p>",
"_help_hrZ1D00cLbal": "<p>Internal links are links to other notes within Trilium.</p><p>You can open an internal link by clicking it. You can also see a read-only preview of an internal link's contents by hovering over it.</p><h2>Inserting internal links</h2><p>Internal links can be created at the current position in a text note by:</p><ol><li>Pressing <kbd>Ctrl</kbd> + <kbd>L</kbd> or the <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Links/Internal%20(reference)%20links_image.png\" width=\"20\" height=\"17\"> button underneath the <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Links/1_Internal%20(reference)%20links_image.png\" width=\"34\" height=\"16\"> menu in the&nbsp;<a class=\"reference-link\" href=\"#root/_help_nRhnJkTT8cPs\">Formatting toolbar</a>.</li><li>Searching for the title of the desired note to link. It's also possible to create new notes from this dialog by typing a non-existing note title and selecting <em>Create and link child note</em>.</li></ol><p>There are two link types which you can select when creating the link to the note:</p><ol><li><em>Link title mirrors the note's current title</em><ol><li>This is sometimes also called \"reference link\".</li><li>The title of this link cannot be changed. Instead, it will always show the current title of the linked note.</li><li>The icon of the linked note will also be displayed.</li></ol></li><li><em>Link title can be changed arbitrarily</em><ol><li>This will create a traditional hyperlink, where the text of the link can be different from the note title.</li></ol></li></ol><h2>In-place linking</h2><p>You can also insert internal links “inline” by using the <code spellcheck=\"false\">@</code> symbol:</p><ol><li>Type <code spellcheck=\"false\">@</code> in a text note, which will open the note search menu.</li><li>Search for the desired note's title by typing a few characters. Use <kbd>Up</kbd> and <kbd>Down</kbd> to select the correct note, and press <kbd>Enter</kbd> or <kbd>Tab</kbd> to create the link. It's also possible to create new notes with this method by typing a non-existing note title and selecting <em>Create and link child note</em>.</li></ol><h2>Pasting internal links</h2><p>You can also insert internal links by copying a note from the note tree.</p><ol><li>In the&nbsp;<a class=\"reference-link\" href=\"#root/_help_oPVyFC7WL2Lp\">Note Tree</a>, select a note and press <kbd>Ctrl</kbd> + <kbd>C</kbd>.</li><li>In a text note, paste the link by pressing <kbd>Ctrl</kbd> + <kbd>V</kbd>.</li></ol>",
"_help_wfGXLmm7x27z": "<p>A link points from one note to another; a <em>backlink</em> is that same connection seen from the other end: the list of notes that refer to the current one.</p><p>Backlinks are maintained automatically and are read-only from this side. A backlink disappears when the note that created it removes the link; it cannot be deleted from the note being pointed at.</p><h2>What counts as a backlink</h2><p>Any&nbsp;r<a class=\"reference-link\" href=\"#root/_help_hrZ1D00cLbal\">Internal (reference) links</a>&nbsp;pointing at the current note, which covers two rather different cases:</p><ul><li>Relations that Trilium maintains on your behalf.<ul><li>The most common is <code spellcheck=\"false\">internalLink</code>, created whenever a note refers to another one through&nbsp;<a class=\"reference-link\" href=\"#root/_help_hrZ1D00cLbal\">Internal (reference) links</a>&nbsp;in its text.</li><li>Embedded images (<code spellcheck=\"false\">imageLink</code>), relation map connections (<code spellcheck=\"false\">relationMapLink</code>) and note inclusions (<code spellcheck=\"false\">includeNoteLink</code>) work the same way.</li></ul></li><li>Relations you define yourself.<ul><li>If another note carries <code spellcheck=\"false\">~author</code> pointing at the current note, that note is listed here as well.</li></ul></li></ul><p>Relations coming from a&nbsp;<a class=\"reference-link\" href=\"#root/_help_m523cpzocqaD\">Saved Search</a>&nbsp;are excluded, since a search stores an <code spellcheck=\"false\">ancestor</code> relation that would otherwise list every one of its results as a backlink.</p><aside class=\"admonition note\"><p>Only some note types have their content scanned for links:&nbsp;<a class=\"reference-link\" href=\"#root/_help_iPIMuisry3hd\">Text</a>,&nbsp;<a class=\"reference-link\" href=\"#root/_help_6RM1Q7ppFVoj\">Markdown</a>,&nbsp;<a class=\"reference-link\" href=\"#root/_help_iRwzGnHPzonm\">Relation Map</a>&nbsp;and&nbsp;<a class=\"reference-link\" href=\"#root/_help_GBBMSlVSOIGP\">AI</a>&nbsp;chats. A link written inside a&nbsp;<a class=\"reference-link\" href=\"#root/_help_6f9hih2hXXZk\">Code</a>&nbsp;note is not registered and will not appear as a backlink on the target note. A relation set manually on a code note does still count.</p></aside><h2>How entries are displayed</h2><p>Each entry names the note the reference comes from, followed by one of:</p><ul><li><strong>An excerpt</strong> of the surrounding content, with the link itself highlighted. This is available for&nbsp;<a class=\"reference-link\" href=\"#root/_help_iPIMuisry3hd\">Text</a>&nbsp;notes and for&nbsp;<a class=\"reference-link\" href=\"#root/_help_GBBMSlVSOIGP\">AI</a>&nbsp;chat notes. Roughly 200 characters of context are quoted around the link, trimmed with an ellipsis where the surrounding text is longer, and images are left out.</li><li><strong>The name of the relation</strong>, for every other note type where the source cannot be quoted. This is the case for&nbsp;<a class=\"reference-link\" href=\"#root/_help_iRwzGnHPzonm\">Relation Map</a>&nbsp;notes and for any note carrying a relation you defined yourself.</li></ul><p>A note is listed once per reference it makes, so a note that links to the current one three times occupies three rows.</p><p>Of note:</p><ul><li>For AI chat notes, only the assistant's own prose is quoted. A chat that reached the note purely through tool calls has nothing to quote and is listed by relation name instead.</li><li>Excerpts are only generated for roughly the first 50 sources. On a heavily referenced note, the remaining entries fall back to showing the relation name.</li></ul><h2>Where backlinks are shown</h2><ul><li>In the&nbsp;<a class=\"reference-link\" href=\"#root/_help_KRlZFoIH0j6p\">Connections tab</a>&nbsp;of the&nbsp;<a class=\"reference-link\" href=\"#root/_help_RnaPdbciOfeq\">Right Sidebar</a>, as a dedicated section.</li><li>As a badge in the&nbsp;<a class=\"reference-link\" href=\"#root/_help_AlJ73vBCjWDw\">Status bar</a>&nbsp;showing the number of backlinks. The badge only appears when the note is being read normally (not in a revision or attachment view) and when there is at least one backlink; pressing it opens the section above.</li><li>Incoming links are also drawn on the link map, see&nbsp;<a class=\"reference-link\" href=\"#root/_help_BCkXAVs63Ttv\">Note Map (Link map, Tree map)</a>.</li><li>On the old layout, backlinks are showed as a dedicated button in the&nbsp;<a class=\"reference-link\" href=\"#root/_help_XpOYSgsLkTJy\">Floating buttons</a>&nbsp;area.</li></ul>",
- "_help_S6Xx8QIWTV66": "<p>There are three types of lists supported by text notes:</p><ul><li><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/4_Lists_image.png\" width=\"17\" height=\"13\"> Bulleted lists (also known as unordered lists).</li><li><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/1_Lists_image.png\" width=\"18\" height=\"16\"> Numbered lists (or ordered lists).</li><li><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Lists_image.png\" width=\"19\" height=\"13\"> To-do lists</li></ul><p>For bulleted and numbered lists, it's possible to configure an alternative marker such as squares or Roman numbering by pressing the <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/2_Lists_image.png\" width=\"10\" height=\"6\"> icon. For numbered lists, it's also possible to specify the number to start at or whether to count in reverse order.</p><h2>Keyboard interaction</h2><ul><li>To create a new list:<ul><li>Bulleted list: Start a line with <code spellcheck=\"false\">*</code> or <code spellcheck=\"false\">-</code> followed by a space;</li><li>Numbered list: Start a line with <code spellcheck=\"false\">1.</code> or <code spellcheck=\"false\">1)</code> followed by a space;</li><li>To-do list: Start a line with <code spellcheck=\"false\">- [ ]</code> for an unchecked item or <code spellcheck=\"false\">[x]</code> for a checked item.</li></ul></li><li>To create a new item in the list, press <kbd>Enter</kbd>.</li><li>To create a blank line within a list item, press <kbd>Shift</kbd>+<kbd>Enter</kbd>.</li><li>To exit out of the list, press <kbd>Enter</kbd> twice.</li><li>To merge two lists, simply delete the gap between them.</li><li>To create nested lists, simply use the <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/7_Lists_image.png\" width=\"17\" height=\"14\"> button (see <em>Indentation</em> in&nbsp;<a class=\"reference-link\" href=\"#root/_help_dEHYtoWWi8ct\">Other features</a>) or the <kbd>Tab</kbd> key. To decrease the nesting level for the current element, press <kbd>Shift</kbd>+<kbd>Tab</kbd>.</li></ul><h2>Headings, code blocks within lists</h2><p>It possible to add content-level blocks such as headings, code blocks, tables within lists, as follows:</p><figure class=\"table\"><table>\n<thead>\n<tr>\n<th></th>\n<th></th>\n<th></th>\n</tr>\n</thead>\n<tbody><tr>\n<td>1</td>\n<td><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/6_Lists_image.jpg\"></td>\n<td>First, create a list.</td>\n</tr>\n<tr>\n<td>2</td>\n<td><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/9_Lists_image.jpg\"></td>\n<td>Press Enter to create a new list item.</td>\n</tr>\n<tr>\n<td>3</td>\n<td><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/5_Lists_image.jpg\"></td>\n<td>Press Backspace to get rid of the bullet point. Notice the cursor position.</td>\n</tr>\n<tr>\n<td>4</td>\n<td><img class=\"image_resized\" style=\"aspect-ratio:676/112;width:98.29%;\" src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/10_Lists_image.jpg\" width=\"676\" height=\"112\"></td>\n<td>At this point, insert any desired block-level item such as a code block.</td>\n</tr>\n<tr>\n<td>5</td>\n<td><img class=\"image_resized\" style=\"aspect-ratio:675/129;width:94.22%;\" src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/8_Lists_image.jpg\" width=\"675\" height=\"129\"></td>\n<td>To continue with a new bullet point, press Enter until the cursor moves to a new blank position.</td>\n</tr>\n<tr>\n<td>6</td>\n<td><img class=\"image_resized\" style=\"aspect-ratio:675/129;width:100%;\" src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/3_Lists_image.jpg\" width=\"675\" height=\"129\"></td>\n<td>Press Enter once more to create the new bullet.</td>\n</tr>\n</tbody></table></figure><p>The same principle applies to all three list types (bullet, numbered and to-do).</p><h2>To-do lists</h2><p>See&nbsp;<a class=\"reference-link\" href=\"#root/_help_fASfBrYnquKU\">To-do Lists</a>.</p><h2>Collapsible lists</h2><p>Starting with Trilium v0.104.0, it is possible to collapse nested list items. This applies to bullet lists, numbered lists as well as to-do lists.</p><p>To collapse or expand a list item that has nested sub-items:</p><ul><li>Using the mouse, move the cursor over the list item and an arrow will appear to its left. Clicking it will toggle between collapsed and expanded.</li><li>For bullet lists and numbered lists, it's also possible to click directly on the marker (e.g. the bullet or the number) instead of on the arrow to collapse or expand it. This won't work for to-do lists since this would toggle the to-do instead.</li><li>Press <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>Enter</kbd> which will toggle the collapse/expand state for the item at the cursor position.</li></ul><p>Of note:</p><ul><li>Collapsed items always show the arrow to indicate its state.</li><li>The collapsed state is saved at note level and synced across instances, which means that it will restore after a refresh or reopening of the application.</li><li>The collapsed state is also persisted in&nbsp;<a class=\"reference-link\" href=\"#root/_help_mHbBMPDPkVV5\">Import &amp; Export</a>, but only for the HTML format. Markdown exports will not preserve the collapse state.</li><li>Collapsible bullets only exist in the context of editable text notes. Read-only lists will always be fully expanded.</li><li>The list items will auto-expand on edit to avoid typing in a hidden area.</li></ul>",
+ "_help_S6Xx8QIWTV66": "<p>There are three types of lists supported by text notes:</p><ul><li><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/3_Lists_image.png\" width=\"17\" height=\"13\"> Bulleted lists (also known as unordered lists).</li><li><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/1_Lists_image.png\" width=\"18\" height=\"16\"> Numbered lists (or ordered lists).</li><li><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Lists_image.png\" width=\"19\" height=\"13\"> To-do lists</li></ul><p>For bulleted and numbered lists, it's possible to configure an alternative marker such as squares or Roman numbering by pressing the <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/2_Lists_image.png\" width=\"10\" height=\"6\"> icon. For numbered lists, it's also possible to specify the number to start at or whether to count in reverse order.</p><h2>Keyboard interaction</h2><ul><li>To create a new list:<ul><li>Bulleted list: Start a line with <code spellcheck=\"false\">*</code> or <code spellcheck=\"false\">-</code> followed by a space;</li><li>Numbered list: Start a line with <code spellcheck=\"false\">1.</code> or <code spellcheck=\"false\">1)</code> followed by a space;</li><li>To-do list: Start a line with <code spellcheck=\"false\">- [ ]</code> for an unchecked item or <code spellcheck=\"false\">[x]</code> for a checked item.</li></ul></li><li>To create a new item in the list, press <kbd>Enter</kbd>.</li><li>To create a blank line within a list item, press <kbd>Shift</kbd>+<kbd>Enter</kbd>.</li><li>To exit out of the list, press <kbd>Enter</kbd> twice.</li><li>To merge two lists, simply delete the gap between them.</li><li>To create nested lists, simply use the <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/4_Lists_image.png\" width=\"17\" height=\"14\"> button (see <em>Indentation</em> in&nbsp;<a class=\"reference-link\" href=\"#root/_help_dEHYtoWWi8ct\">Other features</a>) or the <kbd>Tab</kbd> key. To decrease the nesting level for the current element, press <kbd>Shift</kbd>+<kbd>Tab</kbd>.</li></ul><h2>Headings, code blocks within lists</h2><p>It possible to add content-level blocks such as headings, code blocks, tables within lists, as follows:</p><figure class=\"table\"><table>\n<thead>\n<tr>\n<th></th>\n<th></th>\n<th></th>\n</tr>\n</thead>\n<tbody><tr>\n<td>1</td>\n<td><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/2_Lists_image.jpg\"></td>\n<td>First, create a list.</td>\n</tr>\n<tr>\n<td>2</td>\n<td><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/4_Lists_image.jpg\"></td>\n<td>Press Enter to create a new list item.</td>\n</tr>\n<tr>\n<td>3</td>\n<td><img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/1_Lists_image.jpg\"></td>\n<td>Press Backspace to get rid of the bullet point. Notice the cursor position.</td>\n</tr>\n<tr>\n<td>4</td>\n<td><img class=\"image_resized\" style=\"aspect-ratio:676/112;width:98.29%;\" src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/5_Lists_image.jpg\" width=\"676\" height=\"112\"></td>\n<td>At this point, insert any desired block-level item such as a code block.</td>\n</tr>\n<tr>\n<td>5</td>\n<td><img class=\"image_resized\" style=\"aspect-ratio:675/129;width:94.22%;\" src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/3_Lists_image.jpg\" width=\"675\" height=\"129\"></td>\n<td>To continue with a new bullet point, press Enter until the cursor moves to a new blank position.</td>\n</tr>\n<tr>\n<td>6</td>\n<td><img class=\"image_resized\" style=\"aspect-ratio:675/129;width:100%;\" src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Lists_image.jpg\" width=\"675\" height=\"129\"></td>\n<td>Press Enter once more to create the new bullet.</td>\n</tr>\n</tbody></table></figure><p>The same principle applies to all three list types (bullet, numbered and to-do).</p><h2>To-do lists</h2><p>See&nbsp;<a class=\"reference-link\" href=\"#root/_help_fASfBrYnquKU\">To-do Lists</a>.</p><h2>Collapsible lists</h2><p>Starting with Trilium v0.104.0, it is possible to collapse nested list items. This applies to bullet lists, numbered lists as well as to-do lists.</p><p>To collapse or expand a list item that has nested sub-items:</p><ul><li>Using the mouse, move the cursor over the list item and an arrow will appear to its left. Clicking it will toggle between collapsed and expanded.</li><li>For bullet lists and numbered lists, it's also possible to click directly on the marker (e.g. the bullet or the number) instead of on the arrow to collapse or expand it. This won't work for to-do lists since this would toggle the to-do instead.</li><li>Press <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>Enter</kbd> which will toggle the collapse/expand state for the item at the cursor position.</li></ul><p>Of note:</p><ul><li>Collapsed items always show the arrow to indicate its state.</li><li>The collapsed state is saved at note level and synced across instances, which means that it will restore after a refresh or reopening of the application.</li><li>The collapsed state is also persisted in&nbsp;<a class=\"reference-link\" href=\"#root/_help_mHbBMPDPkVV5\">Import &amp; Export</a>, but only for the HTML format. Markdown exports will not preserve the collapse state.</li><li>Collapsible bullets only exist in the context of editable text notes. Read-only lists will always be fully expanded.</li><li>The list items will auto-expand on edit to avoid typing in a hidden area.</li></ul>",
"_help_QrtTYPmdd1qq": "<p>Markdown-like formatting allows inserting some basic formatting by typing the Markdown equivalent. Note that this does not mean that&nbsp;<a class=\"reference-link\" href=\"#root/_help_iPIMuisry3hd\">Text</a>&nbsp;notes supports Markdown, these are just some convenience shortcuts.</p><p>To import more complex formatting into text notes, consider using the <a href=\"#root/_help_dEHYtoWWi8ct\"><em>Import from Markdown</em></a> function. For fully-fleged Markdown notes imports, consider using the dedicated <a href=\"#root/_help_Oau6X9rCuegd\">import</a> function.</p><ul><li>For <a href=\"#root/_help_Gr6xFaF6ioJ5\">headings:</a><ul><li><code spellcheck=\"false\">##</code> for Heading 2 (the first-level heading is reserved for the note title).</li><li><code spellcheck=\"false\">###</code> for Heading 3</li><li><code spellcheck=\"false\">####</code> for Heading 4</li><li><code spellcheck=\"false\">#####</code> for Heading 5</li><li><code spellcheck=\"false\">######</code> for Heading 6</li></ul></li><li>For&nbsp;<a class=\"reference-link\" href=\"#root/_help_Gr6xFaF6ioJ5\">General formatting</a>:<ul><li><strong>Bold</strong>: Type <code spellcheck=\"false\">**text**</code> or <code spellcheck=\"false\">__text__</code></li><li><em>Italic</em>: Type <code spellcheck=\"false\">*text*</code> or <code spellcheck=\"false\">_text_</code></li><li><del>Strikethrough</del>: Type <code spellcheck=\"false\">~~text~~</code></li></ul></li><li>For&nbsp;<a class=\"reference-link\" href=\"#root/_help_S6Xx8QIWTV66\">Lists</a>:<ul><li>Bulleted list: Start a line with <code spellcheck=\"false\">*</code> or <code spellcheck=\"false\">-</code> followed by a space;</li><li>Numbered list: Start a line with <code spellcheck=\"false\">1.</code> or <code spellcheck=\"false\">1)</code> followed by a space;</li><li>To-do list: Start a line with <code spellcheck=\"false\">[ ]</code> for an unchecked item or <code spellcheck=\"false\">[x]</code> for a checked item.</li></ul></li><li>For <a href=\"#root/_help_NwBbFdNZ9h7O\">block quotes</a>, press <code spellcheck=\"false\">&gt;</code>, followed by a space.</li><li>For&nbsp;<a class=\"reference-link\" href=\"#root/_help_QxEyIjRBizuC\">Code blocks</a>, type <code spellcheck=\"false\">```</code>.</li><li>For a <a href=\"#root/_help_dEHYtoWWi8ct\">horizontal line</a>, type <code spellcheck=\"false\">---</code>.</li><li>For <a href=\"#root/_help_NwBbFdNZ9h7O\">admonitions</a>:<ul><li><code spellcheck=\"false\">!!! note</code></li><li><code spellcheck=\"false\">!!! tip</code></li><li><code spellcheck=\"false\">!!! important</code></li><li><code spellcheck=\"false\">!!! caution</code></li><li><code spellcheck=\"false\">!!! warning</code></li><li>Starting any other text with <code spellcheck=\"false\">!!!</code> will insert a note admonition with the text inside of it.</li></ul></li><li>For <a href=\"#root/_help_CohkqWQC1iBv\">emojis</a>, type <code spellcheck=\"false\">:</code> followed by an emoji name to trigger an auto-completion.</li></ul><p>If auto-formatting is not desirable, press <kbd>Ctrl</kbd> + <kbd>Z</kbd> to revert the text to its original form.</p>",
"_help_YfYAtQBcfo5V": "<figure class=\"image image-style-align-right\"><img style=\"aspect-ratio:350/193;\" src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Math%20Equations_image.png\" width=\"350\" height=\"193\"></figure><p>Within text notes, it's possible to enter mathematical equations using the <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/1_Math%20Equations_image.png\" width=\"20\" height=\"15\"> button from the&nbsp;<a class=\"reference-link\" href=\"#root/_help_nRhnJkTT8cPs\">Formatting toolbar</a>&nbsp;(generally found under the&nbsp;<a class=\"reference-link\" href=\"#root/_help_CohkqWQC1iBv\">Insert buttons</a>).</p><p>The mathematical expression must be written in the TeX format. There is no visual editor for the math equations, only a preview.&nbsp;</p><p>Enabling <em>Display mode</em> will render the equation slightly bigger (especially if using big operators such as summation, or fractions) and center it. Display mode equations will act as blocks (i.e. like paragraphs, or tables) and can be inserted for example in lists. Non-display equations can be part of the text.</p><h2>Keyboard shortcuts</h2><p>If inserting equations frequently, using the <kbd>Ctrl</kbd>+<kbd>M</kbd> keyboard shortcut can be more comfortable. Alternatively, type <code spellcheck=\"false\">$$</code> or <code spellcheck=\"false\">\\[</code> to trigger the popup directly.</p><p>There is currently no quick way to turn an already typed-out equation, such as surrounding it with <code spellcheck=\"false\">$</code> or pressing <kbd>Ctrl</kbd>+<kbd>M</kbd>.</p><h2>Supported math features</h2><p>Technically we are using the KaTeX library which allows for a subset of the TeX format. To see the full list of supported features, consult the <a href=\"https://katex.org/docs/supported\">Supported Functions</a> and the <a href=\"https://katex.org/docs/support_table\">Support Table</a> from the official documentation.</p><h2>Markdown support</h2><p>Math equations will be preserved when exporting to or importing from Markdown, surrounded by <code spellcheck=\"false\">$</code> characters for inline math expressions, and <code spellcheck=\"false\">$$</code> for display mode.</p><p>If you notice any issue with the Markdown import/export for equations, feel free to <a href=\"#root/_help_wy8So3yZZlH9\">report</a> it while providing the equation that causes issues.</p><h2>Formatting the equation</h2><p>It is possible to customize the font size and foreground color for both inline and display-mode equations, just like any other text. For inline equations, the background color/highlight can also be adjusted.</p>",
"_help_dEHYtoWWi8ct": "<h2>Indentation</h2><figure class=\"image image-style-align-right\"><img style=\"aspect-ratio:201/124;\" src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/6_Other%20features_image.png\" width=\"201\" height=\"124\"></figure><p>Paragraphs can be indented to the right using the &nbsp;button from the&nbsp;<a class=\"reference-link\" href=\"#root/_help_nRhnJkTT8cPs\">Formatting toolbar</a>.</p><ul><li>Press <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/5_Other%20features_image.png\" width=\"17\" height=\"14\"> to increase the indentation of the current paragraph by one. Can be pressed multiple times if needed.</li><li>Press <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/1_Other%20features_image.png\" width=\"17\" height=\"14\"> to decrease the indentation of a current paragraph. The button will be disabled if it is already at the minimum indentation level.</li><li>For convenience, keyboard shortcuts are also available. Press <kbd>Tab</kbd> to indent or <kbd>Shift</kbd>+<kbd>Tab</kbd> to decrease the indentation. These shortcuts work even if the cursor is not at the beginning of a paragraph or a list.</li><li>Apart from paragraphs, the indent button is also enabled in&nbsp;<a class=\"reference-link\" href=\"#root/_help_S6Xx8QIWTV66\">Lists</a>, where it can be used to create nested lists.</li></ul><h2>Markdown import</h2><p>If the clipboard contains Markdown text, it can be easily imported into text notes. Simply copy a Markdown-formatted text and press the <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/2_Other%20features_image.png\" width=\"20\" height=\"14\"> to insert its visual representation.</p><p>Note that this only works with raw Markdown (e.g. <code spellcheck=\"false\"># Heading 1</code> to generate a heading) and not the visual representation of the Markdown (e.g. as in the preview pane of an application). In that case, simply use the paste function which already accepts HTML-formatted content.</p><p>This is mostly useful for snippets of text, for entire Markdown documents use the dedicated&nbsp;<a class=\"reference-link\" href=\"#root/_help_Oau6X9rCuegd\">Markdown</a>&nbsp;import/export function.</p><p>If accessing Trilium with a web browser, the Markdown import action will ask for the content to be inserted into a dedicated screen since it does not have access to the clipboard.</p><h2>Cut to subnote</h2><p>The <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/Other%20features_image.png\" width=\"16\" height=\"20\"> button will create a child note with the selected text. For more information, see&nbsp;<a class=\"reference-link\" href=\"#root/_help_2x0ZAX9ePtzV\">Cut to subnote</a>.</p><h2>Find and replace</h2><figure class=\"image image-style-align-right\"><img style=\"aspect-ratio:394/203;\" src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/4_Other%20features_image.png\" width=\"394\" height=\"203\"></figure><p>The <img src=\"{{helpAssets}}/User%20Guide/Note%20Types/Text/3_Other%20features_image.png\" width=\"18\" height=\"17\"> button will open the editor's dedicated search and replace functionality.</p><p>Alternatively, the <kbd>Ctrl</kbd>+<kbd>F</kbd> combination can be pressed to show the dialog.</p>",
@@ -192,12 +192,12 @@
"_help_IEgsWp5hHH35": "<p>Code Snippets are closely related to&nbsp;<a class=\"reference-link\" href=\"#root/_help_KC1HB96bqqHX\">Templates</a>, but instead of defining the content of an entire note, a snippet is a reusable piece of code that can easily be inserted into a&nbsp;<a class=\"reference-link\" href=\"#root/_help_6f9hih2hXXZk\">Code</a>&nbsp;note.</p><h2>Creating a Code snippet</h2><p>In the&nbsp;<a class=\"reference-link\" href=\"#root/_help_oPVyFC7WL2Lp\">Note Tree</a>: </p><ol><li>Right-click the note where you want to place the snippet.</li><li>Select <strong>Insert child</strong> <em>note</em>.</li><li>Select <em><strong>Code snippet</strong></em>.</li></ol><p>Then simply type the desired code into the note and set the correct language mode.</p><p>The note's title becomes the title of the snippet. Optionally, you can add a description in the&nbsp;<a class=\"reference-link\" href=\"#root/_help_OFXdgB2nNk1F\">Promoted Attributes</a>&nbsp;section.</p><h2>Inserting a snippet</h2><p>To insert a snippet, type <code spellcheck=\"false\">/snippet</code> and select its title from the dropdown.</p><aside class=\"admonition important\"><p>Only code snippets whose language mode matches the current code note are listed. For example, a CSS code note shows only CSS snippets, not JavaScript ones. The exception is snippets set to \"Plain text\", which are available in&nbsp;<a class=\"reference-link\" href=\"#root/_help_6RM1Q7ppFVoj\">Markdown</a>&nbsp;notes and any code note regardless of its language mode.</p></aside><h2>Limitations</h2><ul><li>Unlike&nbsp;<a class=\"reference-link\" href=\"#root/_help_KC1HB96bqqHX\">Templates</a>, snippets cannot be limited to a particular <a href=\"#root/_help_9sRHySam5fXb\">workspace</a>.</li></ul>",
"_help_BCkXAVs63Ttv": "<p>Note map is a visualization of connections between notes. This provides an insight into a structure (\"web\") of notes.</p><p>There are two types of note map:</p><ul><li>Link Map, which shows relations between notes.</li><li>Note Map, which shows the hierarchical tree structure.</li></ul><h2>Accessing the note map</h2><p>The note map comes into multiple flavors:</p><ul><li>To access the note map for the current note:<ul><li>On the&nbsp;<a class=\"reference-link\" href=\"#root/_help_IjZS7iK5EXtb\">New Layout</a>, the note map is available in the&nbsp;<a class=\"reference-link\" href=\"#root/_help_KRlZFoIH0j6p\">Connections tab</a>&nbsp;in the&nbsp;<a class=\"reference-link\" href=\"#root/_help_RnaPdbciOfeq\">Right Sidebar</a>.</li><li>On the old layout, the note map is a tab in the&nbsp;<a class=\"reference-link\" href=\"#root/_help_BlN9DFI679QC\">Ribbon</a>.</li></ul></li><li>To display a full-screen note map, there is a <a href=\"#root/_help_bdUJEHsAPYQR\">dedicated note type</a> with the same name.</li><li>To view the global note map (of all the notes in the knowledge base), there is a dedicated <em>Note map</em> button in the&nbsp;<a class=\"reference-link\" href=\"#root/_help_xYmIYSP6wE3F\">Launch Bar</a>.</li></ul><h2>Terminology and structure</h2><ul><li>Each note is represented as a <em>node</em> in the graph, with the title displayed underneath.<ul><li>When the map is zoomed out, the title can still be viewed by hovering over the node.</li><li>The <a href=\"#root/_help_p9kXRFAkwN4o\">icon and color</a> of the note are respected.</li></ul></li><li>The root node is the reference point for which the relations and hierarchical structure are displayed.<ul><li>When accessing the note map through the&nbsp;<a class=\"reference-link\" href=\"#root/_help_BlN9DFI679QC\">Ribbon</a>&nbsp;or the&nbsp;<a class=\"reference-link\" href=\"#root/_help_RnaPdbciOfeq\">Right Sidebar</a>&nbsp;(new layout), the root node is the current note.</li><li>When using a dedicated&nbsp;<a class=\"reference-link\" href=\"#root/_help_bdUJEHsAPYQR\">Note Map</a>&nbsp;note, the root note can be either the parent note, the currently <a href=\"#root/_help_OR8WJ7Iz9K4U\">hoisted</a> note or a specific note. See the note type documentation for more information.</li></ul></li></ul><h2>Interaction</h2><ul><li>Nodes can be dragged around, but they will return to their original position once released.<ul><li>To have the notes remain in the same position as they were dragged, press the <em>Fix nodes</em> button. The position of the notes is not saved, so it will return to normal once you navigate to another note or restart the application.</li></ul></li><li>When hovering over a node, the adjacent relations and nodes are highlighted.</li><li>The distance between nodes can be adjusted via the slider in the bottom-left. Similarly, this value is not saved.</li><li><a class=\"reference-link\" href=\"#root/_help_MKmLg5x6xkor\">Archived Notes</a>&nbsp;are generally ignored by the note map in order to reduce clutter. There is one exception: if the root note is also archived, then all archived notes are displayed too.</li></ul><h2>Link Map</h2><img src=\"{{helpAssets}}/User%20Guide/Advanced%20Usage/Note%20Map%20(Link%20map%2C%20Tree%20map)_image.png\" width=\"1425\" height=\"1093\"><p>The link map is a visualization of links and&nbsp;<a class=\"reference-link\" href=\"#root/_help_Cq5X6iKQop6R\">Relations</a>&nbsp;incoming to and outgoing from a particular note.</p><p>The map indicates the following types of relations:</p><ul><li><a class=\"reference-link\" href=\"#root/_help_hrZ1D00cLbal\">Internal (reference) links</a>&nbsp;between notes.</li><li><a class=\"reference-link\" href=\"#root/_help_Cq5X6iKQop6R\">Relations</a></li></ul><p>The link map will also show unlinked notes that are part of the hierarchy as a cloud of unconnected dots. On the&nbsp;<a class=\"reference-link\" href=\"#root/_help_IjZS7iK5EXtb\">New Layout</a>, the sidebar deliberately omits this in order to save some space, but they will be revealed once the map is maximized.</p><h2>Tree Map</h2><p>Shows hierarchical map of notes:</p><figure class=\"image\"><img style=\"aspect-ratio:1420/1490;\" src=\"{{helpAssets}}/User%20Guide/Advanced%20Usage/1_Note%20Map%20(Link%20map%2C%20Tree%20map)_image.png\" width=\"1420\" height=\"1490\"></figure><h2>See also</h2><ul><li>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&nbsp;<a class=\"reference-link\" href=\"#root/_help_bdUJEHsAPYQR\">Note Map</a>&nbsp;for more information.</li><li><a class=\"reference-link\" href=\"#root/_help_iRwzGnHPzonm\">Relation Map</a>&nbsp;is a similar concept, with some differences:<ul><li>note map is automatically generated while relation map must be created manually</li><li>relation map is a type of note while a link map is just virtual visualization</li></ul></li></ul>",
"_help_R9pX4DGra2Vt": "<p>Trilium allows you to share selected notes as <strong>publicly accessible</strong> read-only documents. This feature is particularly useful for publishing content directly from your Trilium notes, making it accessible to others online.</p><figure class=\"image\"><img style=\"aspect-ratio:1144/660;\" src=\"{{helpAssets}}/User%20Guide/Advanced%20Usage/Sharing_image.png\" width=\"1144\" height=\"660\"></figure><h2>Features, interaction and limitations</h2><ul><li>Searching by note title.</li><li>Automatic dark/light mode based on the user's browser settings.</li><li>Mobile-friendly layout, with sidebar.</li><li>Collapsible tree with the same note icons as the application.</li><li>Customizable logo.</li><li>Toggle button for dark/light mode, which also stores the user preferences.</li><li>Quick navigation buttons (previous and next note).</li><li>Displaying the date of the last update of the note.</li></ul><h3>By note type</h3><table class=\"ck-table-resized\">\n <colgroup>\n <col style=\"width:19.92%;\">\n <col style=\"width:41.66%;\">\n <col style=\"width:38.42%;\">\n </colgroup>\n <thead>\n <tr>\n <th>&nbsp;</th>\n <th>Supported features</th>\n <th>Limitations</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <th><a class=\"reference-link\" href=\"#root/_help_iPIMuisry3hd\">Text</a></th>\n <td><ul><li>Table of contents.</li><li>Syntax highlight of code blocks, provided a language is selected (does not work if “Auto-detected” is enabled).</li><li>Rendering for math equations.</li><li><a href=\"#root/_help_nBAXQFj20hS1\">Including notes</a> (only if the included notes are also shared).</li></ul></td>\n <td><ul><li>Inline Mermaid diagrams are not rendered.</li></ul></td>\n </tr>\n <tr>\n <th><a class=\"reference-link\" href=\"#root/_help_6f9hih2hXXZk\">Code</a></th>\n <td><ul><li>Basic support (displaying the contents of the note in a monospace font).</li></ul></td>\n <td><ul><li>No syntax highlight.</li></ul></td>\n </tr>\n <tr>\n <th><a class=\"reference-link\" href=\"#root/_help_m523cpzocqaD\">Saved Search</a></th>\n <td>Not supported.</td>\n <td>&nbsp;</td>\n </tr>\n <tr>\n <th><a class=\"reference-link\" href=\"#root/_help_iRwzGnHPzonm\">Relation Map</a></th>\n <td>Not supported.</td>\n <td>&nbsp;</td>\n </tr>\n <tr>\n <th><a class=\"reference-link\" href=\"#root/_help_bdUJEHsAPYQR\">Note Map</a></th>\n <td>Not supported.</td>\n <td>&nbsp;</td>\n </tr>\n <tr>\n <th><a class=\"reference-link\" href=\"#root/_help_HcABDtFCkbFN\">Render Note</a></th>\n <td>Not supported.</td>\n <td>&nbsp;</td>\n </tr>\n <tr>\n <th><a class=\"reference-link\" href=\"#root/_help_GTwFsgaA0lCt\">Collections</a></th>\n <td><ul><li>The child notes are displayed in a fixed format.&nbsp;</li></ul></td>\n <td><ul><li>More advanced view types such as the calendar view are not supported.</li></ul></td>\n </tr>\n <tr>\n <th><a class=\"reference-link\" href=\"#root/_help_s1aBHPd79XYj\">Mermaid Diagrams</a></th>\n <td><ul><li>The diagram is displayed as a vector image.</li></ul></td>\n <td><ul><li>No further interaction supported.</li></ul></td>\n </tr>\n <tr>\n <th><a class=\"reference-link\" href=\"#root/_help_grjYqerjn243\">Canvas</a></th>\n <td><ul><li>The diagram is displayed as a vector image.</li></ul></td>\n <td><ul><li>No further interaction supported.</li></ul></td>\n </tr>\n <tr>\n <th><a class=\"reference-link\" href=\"#root/_help_1vHRoWCEjj0L\">Web View</a></th>\n <td>Not supported.</td>\n <td>&nbsp;</td>\n </tr>\n <tr>\n <th><a class=\"reference-link\" href=\"#root/_help_gBbsAeiuUxI5\">Mind Map</a></th>\n <td>The diagram is displayed as a vector image.</td>\n <td><ul><li>No further interaction supported.</li></ul></td>\n </tr>\n <tr>\n <th><a class=\"reference-link\" href=\"#root/_help_81SGnPGMk7Xc\">Geo Map</a></th>\n <td>Not supported.</td>\n <td>&nbsp;</td>\n </tr>\n <tr>\n <th><a class=\"reference-link\" href=\"#root/_help_W8vYD3Q1zjCR\">File</a></th>\n <td>Basic interaction (downloading the file).</td>\n <td><ul><li>No further interaction supported.</li></ul></td>\n </tr>\n </tbody>\n</table><p>While the sharing feature is powerful, it has some limitations:</p><ul><li><strong>Code Notes</strong>: No syntax highlighting.</li><li><strong>Static Note Tree</strong></li><li><strong>Protected Notes</strong>: Cannot be shared.</li><li><strong>Include Notes</strong>: Not supported.</li></ul><p>Some of these limitations may be addressed in future updates.</p><h2>Prerequisites</h2><p>To use the sharing feature, you must have a&nbsp;<a class=\"reference-link\" href=\"#root/_help_WOcw2SLH6tbX\">Server Installation</a>&nbsp;of Trilium. This is necessary because the notes will be hosted from the server.</p><h2>Sharing a note</h2><ol><li><p><strong>Enable Sharing</strong>: To share a note, toggle the <code spellcheck=\"false\">Shared</code> switch within the note's interface. Once sharing is enabled, an URL will appear, which you can click to access the shared note.</p><p><img src=\"{{helpAssets}}/User%20Guide/Advanced%20Usage/Sharing_share-single-note.png\" alt=\"Share Note\"></p></li><li><p><strong>Access the Shared Note</strong>: The link provided will open the note in your browser. If your server is not configured with a public IP, the URL will refer to <code spellcheck=\"false\">localhost (127.0.0.1)</code>.</p></li></ol><h2>Sharing a note subtree</h2><p>When you share a note, you actually share the entire subtree of notes beneath it. If the note has child notes, they will also be included in the shared content. For example, sharing the \"Formatting\" subtree will display a page with basic navigation for exploring all the notes within that subtree.</p><h2>Viewing and managing shared notes</h2><p>You can view a list of all shared notes by clicking on \"Show Shared Notes Subtree\" in the&nbsp;<a class=\"reference-link\" href=\"#root/_help_x3i7MxGccDuM\">Global menu</a>. This allows you to manage and navigate through all the notes you have made public.</p><h2>Security considerations</h2><ul><li>Shared notes are published on the open internet and can be accessed by anyone with the URL unless the notes are password-protected.</li><li>The URL's randomness does not provide security, so it is crucial not to share sensitive information through this feature.</li><li>Trilium takes precautions to protect your publicly shared instance from leaking information for non-shared notes, including opening a separate read-only connection to the&nbsp;<a class=\"reference-link\" href=\"#root/_help_wX4HbRucYSDD\">Database</a>. Depending on your threat model, it might make more sense to use&nbsp;<a class=\"reference-link\" href=\"#root/_help_ycBFjKrrwE9p\">Exporting static HTML for web publishing</a>&nbsp;and use battle-tested web servers such as Nginx or Apache to serve static content.</li></ul><h3>Password protection</h3><p>To protect shared notes with a username and password, you can use the <code spellcheck=\"false\">#shareCredentials</code> attribute. Add this label to the note with the format <code spellcheck=\"false\">#shareCredentials=\"username:password\"</code>. To protect an entire subtree, make sure the label is <a href=\"#root/_help_bwZpz2ajCEwO\">inheritable</a>.</p><h2>Advanced sharing options</h2><h3>Customizing the appearance of shared notes</h3><p>The default design should be a good starting point, but you can customize it using your own CSS:</p><ul><li><strong>Custom CSS</strong>: Link a CSS&nbsp;<a class=\"reference-link\" href=\"#root/_help_6f9hih2hXXZk\">Code</a>&nbsp;note to the shared page by adding a <code spellcheck=\"false\">~shareCss</code> 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 <code spellcheck=\"false\">#shareHiddenFromTree</code> label.</li><li><strong>Omitting Default CSS</strong>: For extensive styling changes, use the <code spellcheck=\"false\">#shareOmitDefaultCss</code> label to avoid conflicts with Trilium's <a href=\"#root/_help_Wy267RK4M69c\">default stylesheet</a>.</li></ul><h3>Adding JavaScript</h3><p>You can inject custom JavaScript into the shared note using the <code spellcheck=\"false\">~shareJs</code> relation. This allows you to access note attributes or traverse the note tree using the <code spellcheck=\"false\">fetchNote()</code> API, which retrieves note data based on its ID.</p><h3>Adding custom HTML</h3><p>You can inject custom HTML snippets into specific locations of the shared page using the <code spellcheck=\"false\">~shareHtml</code> relation. The HTML note should contain the raw HTML content you want to inject, and you can control where it appears by adding the <code spellcheck=\"false\">#shareHtmlLocation</code> label to the HTML snippet note itself.</p><p>The <code spellcheck=\"false\">#shareHtmlLocation</code> label accepts values in the format <code spellcheck=\"false\">location:position</code>:</p><ul><li><strong>Locations</strong>: <code spellcheck=\"false\">head</code>, <code spellcheck=\"false\">body</code>, <code spellcheck=\"false\">content</code></li><li><strong>Positions</strong>: <code spellcheck=\"false\">start</code>, <code spellcheck=\"false\">end</code></li></ul><p>For example:</p><ul><li><code spellcheck=\"false\">#shareHtmlLocation=head:start</code> - Injects HTML at the beginning of the <code spellcheck=\"false\">&lt;head&gt;</code> section</li><li><code spellcheck=\"false\">#shareHtmlLocation=head:end</code> - Injects HTML at the end of the <code spellcheck=\"false\">&lt;head&gt;</code> section (default)</li><li><code spellcheck=\"false\">#shareHtmlLocation=body:start</code> - Injects HTML at the beginning of the <code spellcheck=\"false\">&lt;body&gt;</code> section</li><li><code spellcheck=\"false\">#shareHtmlLocation=content:start</code> - Injects HTML at the beginning of the content area</li><li><code spellcheck=\"false\">#shareHtmlLocation=content:end</code> - Injects HTML at the end of the content area</li></ul><p>If no location is specified, the HTML will be injected at <code spellcheck=\"false\">content:end</code> by default.</p><p>Example:</p><pre><code class=\"language-text-javascript\">const currentNote = await fetchNote();\nconst parentNote = await fetchNote(currentNote.parentNoteIds[0]);\n\nfor (const attr of parentNote.attributes) {\n console.log(attr.type, attr.name, attr.value);\n}</code></pre><h3>Custom share templates</h3><p>To completely redesign the share, it is possible to create or use an existing <a href=\"#root/_help_Ad7Ku5gOHrDU\">custom share template</a>.</p><h3>Creating human-readable URL aliases</h3><p>Shared notes typically have URLs like <code spellcheck=\"false\">http://domain.tld/share/knvU8aJy4dJ7</code>, where the last part is the note's ID. You can make these URLs more user-friendly by adding the <code spellcheck=\"false\">#shareAlias</code> label to individual notes (e.g., <code spellcheck=\"false\">#shareAlias=highlighting</code>). This will change the URL to <code spellcheck=\"false\">http://domain.tld/share/highlighting</code>.</p><p><strong>Important</strong>:</p><ol><li>Ensure that aliases are unique.</li><li>Using slashes (<code spellcheck=\"false\">/</code>) within aliases to create subpaths is not supported.</li></ol><aside class=\"admonition tip\"><ul><li>To easily identify pages that don't have a share alias, run a&nbsp;<a class=\"reference-link\" href=\"#root/_help_eIg8jdvaoNNd\">Search</a>&nbsp;with <code spellcheck=\"false\">#!shareAlias</code>.</li><li>To be able to enter the share alias faster, consider using&nbsp;<a class=\"reference-link\" href=\"#root/_help_OFXdgB2nNk1F\">Promoted Attributes</a>&nbsp;(for example <code spellcheck=\"false\">#label:shareAlias(inheritable)=\"promoted,alias=Slug,single,text\"</code>).</li></ul></aside><h3>Setting a custom favicon</h3><p>To customize the favicon for your shared pages, create a relation <code spellcheck=\"false\">~shareFavicon</code> pointing to a file note containing the favicon (e.g., in <code spellcheck=\"false\">.ico</code> format).</p><h3>Sharing a note as the root</h3><p>You can designate a specific note or folder as the root of your shared content by adding the <code spellcheck=\"false\">#shareRoot</code> label. This note will be linked when visiting <code spellcheck=\"false\">[http://domain.tld/share](http://domain/share)</code>, making it easier to use Trilium as a fully-fledged website.</p><aside class=\"admonition tip\"><p>Consider combining this with the <code spellcheck=\"false\">#shareIndex</code> label, which will display a list of all shared notes.</p></aside><h3>Displaying an index of shared notes</h3><p>When accessing a share, the sub-notes will be displayed in a tree on the left. But since multiple note trees can be shared, it might be useful to display a list of all the different share trees.</p><p>To do so, create a shared text note and apply the <code spellcheck=\"false\">shareIndex</code> label. When viewed, the list of shared roots will be displayed at the bottom of the note.</p><h3>Linking to an external website</h3><p>Sometimes it's useful to include a link to an external website alongside your shared notes — for example in the shared navigation or in an index. To do so, add the <code spellcheck=\"false\">#shareExternalLink</code> label to a note, with the target URL as its value (e.g. <code spellcheck=\"false\">#shareExternalLink=\"https://example.com\"</code>).</p><p>Any link pointing to this note will then redirect to the external website and open in a new browser tab, instead of opening the note's own shared page. This applies to:</p><ul><li>the listing produced by the <code spellcheck=\"false\">#shareIndex</code> label;</li><li>the \"Subpages\" list shown under a parent note;</li><li>inline links to this note from within other shared notes.</li></ul><p>The URL must be absolute and include the scheme (e.g. <code spellcheck=\"false\">https://</code>).</p><aside class=\"admonition note\"><p>The note still exists in the share tree and its own page remains reachable by its direct URL — the label only changes how links to it behave.</p></aside><h2>Attribute reference</h2><table class=\"ck-table-resized\">\n <colgroup>\n <col style=\"width:18.38%;\">\n <col style=\"width:81.62%;\">\n </colgroup>\n <thead>\n <tr>\n <th>Attribute</th>\n <th>Description</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td><code spellcheck=\"false\">#shareHiddenFromTree</code></td>\n <td>this note is hidden from left navigation tree, but still accessible with its URL</td>\n </tr>\n <tr>\n <td><code spellcheck=\"false\">#shareExternalLink</code></td>\n <td>when a link points to this note (from the share index, a subpage list, or an inline link in another shared note), it redirects to the given external URL in a new tab instead of the note's shared page. Value is the absolute URL, e.g. <code spellcheck=\"false\">https://example.com</code>.</td>\n </tr>\n <tr>\n <td><code spellcheck=\"false\">#shareAlias</code></td>\n <td>define an alias using which the note will be available under <code spellcheck=\"false\">https://your_trilium_host/share/[your_alias]</code></td>\n </tr>\n <tr>\n <td><code spellcheck=\"false\">#shareOmitDefaultCss</code></td>\n <td>default share page CSS will be omitted. Use when you make extensive styling changes.</td>\n </tr>\n <tr>\n <td><code spellcheck=\"false\">#shareRoot</code></td>\n <td>marks note which is served on /share root.</td>\n </tr>\n <tr>\n <td><code spellcheck=\"false\">#shareDescription</code></td>\n <td>define text to be added to the HTML meta tag for description</td>\n </tr>\n <tr>\n <td><code spellcheck=\"false\">#shareRaw</code></td>\n <td>Note will be served in its raw format, without HTML wrapper. See also&nbsp;<a class=\"reference-link\" href=\"#root/_help_Qjt68inQ2bRj\">Serving directly the content of a note</a>&nbsp;for an alternative method without setting an attribute.</td>\n </tr>\n <tr>\n <td><code spellcheck=\"false\">#shareDisallowRobotIndexing</code></td>\n <td><p>Indicates to web crawlers that the page should not be indexed of this note by:</p><ul><li>Setting the <code spellcheck=\"false\">X-Robots-Tag: noindex</code> HTTP header.</li><li>Setting the <code spellcheck=\"false\">noindex, follow</code> meta tag.</li></ul></td>\n </tr>\n <tr>\n <td><code spellcheck=\"false\">#shareCredentials</code></td>\n <td>require credentials to access this shared note. Value is expected to be in format <code spellcheck=\"false\">username:password</code>. Don't forget to make this inheritable to apply to child-notes/images.</td>\n </tr>\n <tr>\n <td><code spellcheck=\"false\">#shareIndex</code></td>\n <td>Note with this label will list all roots of shared notes.</td>\n </tr>\n <tr>\n <td><code spellcheck=\"false\">#shareHtmlLocation</code></td>\n <td>defines where custom HTML injected via <code spellcheck=\"false\">~shareHtml</code> relation should be placed. Applied to the HTML snippet note itself. Format: <code spellcheck=\"false\">location:position</code> where location is <code spellcheck=\"false\">head</code>, <code spellcheck=\"false\">body</code>, or <code spellcheck=\"false\">content</code> and position is <code spellcheck=\"false\">start</code> or <code spellcheck=\"false\">end</code>. Defaults to <code spellcheck=\"false\">content:end</code>.</td>\n </tr>\n </tbody>\n</table><h3>Customizing logo</h3><p>It's possible to adjust the logo which is displayed on the top-left of the left pane.</p><figure class=\"table\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><code spellcheck=\"false\">~shareLogo</code></td>\n<td>Relation set to an image to use as logo. The image must be part of the share tree (it can be hidden if needed).</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">#shareLogoWidth</code></td>\n<td>The width (in pixels, without unit) to set for the logo. Default is <code spellcheck=\"false\">53</code>.</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">#shareLogoHeight</code></td>\n<td>The height (in pixels, without unit) to set for the logo. Default is <code spellcheck=\"false\">40</code>.</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">#shareRootLink</code></td>\n<td>URL to navigate to when the logo is pressed.</td>\n</tr>\n</tbody></table></figure><h3>Customizing OpenGraph</h3><figure class=\"table\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><code spellcheck=\"false\">#shareOpenGraphColor</code></td>\n<td>This adjusts the <code spellcheck=\"false\">theme-color</code> meta-property.</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">#shareOpenGraphURL</code></td>\n<td>This adjusts the <code spellcheck=\"false\">og:url</code> and <code spellcheck=\"false\">twitter:url</code> meta-properties.</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">#shareOpenGraphDomain</code></td>\n<td>Adjusts the <code spellcheck=\"false\">twitter:domain</code> meta-property.</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">#shareOpenGraphImage</code>&nbsp; <br><code spellcheck=\"false\">~shareOpenGraphImage</code></td>\n<td>Can be either a label, case in which the value is passed on as-is, or it can be a relation to an image&nbsp;<a class=\"reference-link\" href=\"#root/_help_W8vYD3Q1zjCR\">File</a>. This controls the <code spellcheck=\"false\">og:image</code> meta-property.</td>\n</tr>\n</tbody></table></figure><h2>Credits</h2><p>Since v0.95.0, a new theme was introduced (and enabled by default) which greatly improves the visual aspect of the Share feature, as well as its functionality (such as mobile support, dark/light mode, collapsible tree, etc.). This theme is an adaptation of the <a href=\"https://github.com/zerebos/trilium.rocks\">Trilium Rocks!</a> by <a href=\"https://github.com/zerebos\">zerebos</a>.</p>",
- "_help_Qjt68inQ2bRj": "<p>When accessing a shared note, Trilium will render it as a web page. Sometimes it's desirable to serve the content directly so that it can be used in a script or downloaded by the user.</p><figure class=\"table\"><table>\n<thead>\n<tr>\n<th>A note displayed as a web page (HTML)</th>\n<th>A note displayed as a raw format</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><figure class=\"image\"><img style=\"aspect-ratio:738/275;\" src=\"{{helpAssets}}/User%20Guide/Advanced%20Usage/Sharing/1_Serving%20directly%20the%20content%20of%20a%20note_image.png\" width=\"738\" height=\"275\"></figure></td>\n<td><img src=\"{{helpAssets}}/User%20Guide/Advanced%20Usage/Sharing/Serving%20directly%20the%20content%20of%20a%20note_image.jpg\"></td>\n</tr>\n</tbody></table></figure><h2>By adding an attribute to the note</h2><p>Simply add the <code spellcheck=\"false\">#shareRaw</code> attribute and the note will always be rendered <em>raw</em> when accessed from the share URL.</p><h2>By altering the URL</h2><p>Append <code spellcheck=\"false\">?raw</code> to the URL to display a note in its raw format regardless of whether the <code spellcheck=\"false\">#shareRaw</code> attribute is added on the note.</p><p><img src=\"{{helpAssets}}/User%20Guide/Advanced%20Usage/Sharing/Serving%20directly%20the%20content%20of%20a%20note_image.jpg\"></p>",
+ "_help_Qjt68inQ2bRj": "<p>When accessing a shared note, Trilium will render it as a web page. Sometimes it's desirable to serve the content directly so that it can be used in a script or downloaded by the user.</p><figure class=\"table\"><table>\n<thead>\n<tr>\n<th>A note displayed as a web page (HTML)</th>\n<th>A note displayed as a raw format</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><figure class=\"image\"><img style=\"aspect-ratio:738/275;\" src=\"{{helpAssets}}/User%20Guide/Advanced%20Usage/Sharing/Serving%20directly%20the%20content%20of%20a%20note_image.png\" width=\"738\" height=\"275\"></figure></td>\n<td><img src=\"{{helpAssets}}/User%20Guide/Advanced%20Usage/Sharing/Serving%20directly%20the%20content%20of%20a%20note_image.jpg\"></td>\n</tr>\n</tbody></table></figure><h2>By adding an attribute to the note</h2><p>Simply add the <code spellcheck=\"false\">#shareRaw</code> attribute and the note will always be rendered <em>raw</em> when accessed from the share URL.</p><h2>By altering the URL</h2><p>Append <code spellcheck=\"false\">?raw</code> to the URL to display a note in its raw format regardless of whether the <code spellcheck=\"false\">#shareRaw</code> attribute is added on the note.</p><p><img src=\"{{helpAssets}}/User%20Guide/Advanced%20Usage/Sharing/Serving%20directly%20the%20content%20of%20a%20note_image.jpg\"></p>",
"_help_ycBFjKrrwE9p": "<p>As described in&nbsp;<a class=\"reference-link\" href=\"#root/_help_R9pX4DGra2Vt\">Sharing</a>, Trilium can act as a public server in which the shared notes are displayed in read-only mode. While this can work in most cases, it's generally not meant for high-traffic websites and since it's running on a Node.js server it can be potentially exploited.</p><p>Another alternative is to generate static HTML files (just like other static site generators such as <a href=\"https://www.mkdocs.org/\">MkDocs</a>). Since the normal HTML ZIP export does not contain any styling or additional functionality, Trilium provides a way to export the same layout and style as the&nbsp;<a class=\"reference-link\" href=\"#root/_help_R9pX4DGra2Vt\">Sharing</a>&nbsp;function into static HTML files.</p><p>Apart from the enhanced security, these HTML files are also easy to deploy on “serverless” deployments such as GitHub Pages or CloudFlare Pages and cache very easily.</p><aside class=\"admonition tip\"><p>Trilium's documentation, available at <a href=\"https://docs.triliumnotes.org/\">docs.triliumnotes.org</a> is built using this function of exporting to static HTML files which are then deployed automatically to CloudFlare Pages.</p><p>The process is <a href=\"https://github.com/TriliumNext/Trilium/blob/main/apps/edit-docs/src/build-docs.ts\">automated</a> by importing the Markdown documentation and exporting it via a script to the static web format.</p></aside><h2>Differences from normal sharing</h2><p>Apart from normal&nbsp;<a class=\"reference-link\" href=\"#root/_help_R9pX4DGra2Vt\">Sharing</a>, exporting to static HTML files comes with a few subtle differences:</p><ul><li>The URL structure is different. Where in normal sharing it's something along the way of <code spellcheck=\"false\">example.com/share/noteid</code>, the notes follow an hierarchical structure, such as <code spellcheck=\"false\">docs.triliumnotes.org/user-guide/concepts/navigation/tree-concepts</code>.</li><li>The <code spellcheck=\"false\">favicon.ico</code> is not handled automatically, it needs to be manually added on the server after the export is generated.</li><li>The “Last updated” for notes is not available.</li><li>The search functionality works slightly different since the normal one requires an active API to work. In the static export, search still works but uses a different mechanism so results might be different.</li></ul><h2>Differences from normal .zip export</h2><ul><li>The name of the files/URLs will prefer <code spellcheck=\"false\">shareAlias</code> to allow for clean URLs.</li><li>The export requires a functional web server as the pages will not render properly if accessed locally via a web browser due to the use of module scripts.</li><li>The directory structure is also slightly different:<ul><li>A normal HTML export results in an index file and a single directory.</li><li>Instead, for static exporting the top-root level becomes the index file and the child directories are on the root instead.</li><li>This makes it possible to easily publish to a website, without forcing everything but the root note to be in a sub-directory.</li></ul></li></ul><h2>Testing locally</h2><p>As mentioned previously, the exported static pages require a website to function. In order to test locally, a web server needs to be used.</p><p>One example is to use the Node.js-based <a href=\"https://www.npmjs.com/package/http-server\"><code spellcheck=\"false\">http-server</code></a> which can be installed via:</p><pre><code class=\"language-text-x-trilium-auto\">npm i -g http-server</code></pre><p>Once installed simply:</p><ol><li>Extract the exported .zip file.</li><li>Inside the extracted directory, run <code spellcheck=\"false\">http-server</code>.</li><li>Access the indicated address (e.g. <a href=\"http://localhost:8080\">http://localhost:8080</a>).</li></ol><h2>Automation</h2><p><a class=\"reference-link\" href=\"#root/_help_pgxEVkzLl1OP\">ETAPI (REST API)</a>&nbsp;could potentially be used to automate an export on a scheduled task.</p>",
"_help_sLIJ6f1dkJYW": "<p>It might be desirable to only expose the share functionality of Trilium to the Internet, and keep the application accessible only within a local network or via VPN.</p><p>To do so, a reverse proxy is required.</p><h2>Caddy</h2><pre><code class=\"language-text-x-trilium-auto\">http://domain.com {\n reverse_proxy /share http://localhost:8080/share\n}</code></pre><p>This is for newer versions where the share functionality is isolated, for older versions it's required to also include <code spellcheck=\"false\">/assets</code>.<a href=\"#fn2b8mg20aol8\"><sup>[1]</sup></a></p><ol><li><p><a href=\"#fnref2b8mg20aol8\"><strong><sup>^</sup></strong></a></p><p><a href=\"https://github.com/orgs/TriliumNext/discussions/7341#discussioncomment-14679897\">https://github.com/orgs/TriliumNext/discussions/7341#discussioncomment-14679897</a></p></li></ol>",
"_help_Ad7Ku5gOHrDU": "<aside class=\"admonition note\"><p>This topic of creating share templates is considered advanced and requires JavaScript/EJS knowledge.</p><p>The default share template should cover most normal uses.</p></aside><p>For full control over the HTML structure of a shared page — beyond what custom CSS, JS, or HTML snippets allow — you can replace the page template entirely using the <code spellcheck=\"false\">~shareTemplate</code> relation.</p><p>To do so:</p><ol><li>Create a&nbsp;<a class=\"reference-link\" href=\"#root/_help_6f9hih2hXXZk\">Code</a>&nbsp;note with the language <em>Embedded JavaScript</em> (EJS).</li><li>For a shared note to apply the newly created template, apply the <code spellcheck=\"false\">~shareTemplate</code> relation pointing to the note created at step (1). Make use of&nbsp;<a class=\"reference-link\" href=\"#root/_help_bwZpz2ajCEwO\">Attribute Inheritance</a>&nbsp;to apply it to multiple shared notes.</li></ol><p>There are two important constraints to be aware of:</p><ul><li>Because EJS templates execute arbitrary server-side JavaScript, <code spellcheck=\"false\">~shareTemplate</code> only takes effect when backend scripting is enabled. If it is disabled (see&nbsp;<a class=\"reference-link\" href=\"#root/_help_fiHicjpHjIRJ\">Security</a>), the relation is ignored and the default template is used. For the same reason, <strong>only apply templates from notes you trust</strong>.</li><li>The template note must be part of the shared subtree (just like <code spellcheck=\"false\">~shareCss</code>, <code spellcheck=\"false\">~shareJs</code>) in order for it to be loaded. To prevent it from being shown in the navigation, apply <code spellcheck=\"false\">#shareHiddenFromTree</code> to it.</li></ul><h2>Content of the share template</h2><p>Use the <a href=\"https://github.com/TriliumNext/Notes/blob/develop/packages/share-theme/src/templates/page.ejs\">original template</a> as reference when creating a new share template.</p><h2>Available variables</h2><p>Your template is rendered with a context object exposing the note and its rendering environment. The most useful values are:</p><figure class=\"table\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><code spellcheck=\"false\">note</code></td>\n<td>The note being rendered. Use it to read attributes (<code spellcheck=\"false\">note.getLabelValue(...)</code>), <code spellcheck=\"false\">note.title</code>, child notes, etc.</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">content</code></td>\n<td>The note's already-rendered HTML content, as a string.</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">header</code></td>\n<td>Extra HTML to place in the document head for this note (used by some note types).</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">isEmpty</code></td>\n<td><code spellcheck=\"false\">true</code> when the note has no content of its own.</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">subRoot</code></td>\n<td>The root of the shared subtree as <code spellcheck=\"false\">{ note, branch }</code> — handy for a site-wide title or logo.</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">cssToLoad</code> / <code spellcheck=\"false\">jsToLoad</code></td>\n<td>Arrays of stylesheet / script URLs the default theme would inject (includes anything added via <code spellcheck=\"false\">~shareCss</code> / <code spellcheck=\"false\">~shareJs</code>).</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">faviconUrl</code> / <code spellcheck=\"false\">logoUrl</code></td>\n<td>Resolved favicon and logo URLs.</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">isStatic</code></td>\n<td><code spellcheck=\"false\">true</code> during a static HTML export, <code spellcheck=\"false\">false</code> for a live server render.</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">t</code></td>\n<td>The <code spellcheck=\"false\">i18next</code> translation function.</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">utils</code></td>\n<td>Helper utilities such as <code spellcheck=\"false\">slugify()</code> and <code spellcheck=\"false\">stripTags()</code>.</td>\n</tr>\n</tbody></table></figure><h2>Error handling</h2><p>If your template throws an error while rendering, Trilium logs the error and quietly falls back to the default template, so a broken template never takes the shared page down.</p><h2>Splitting a template into partials</h2><p>A template can pull in other EJS notes as partials. Create them as <strong>child notes</strong> of the template note (each also a <code spellcheck=\"false\">code</code> / <code spellcheck=\"false\">application/x-ejs</code> note) and reference them by title:</p><pre><code class=\"language-text-x-trilium-auto\">&lt;%- include(\"header\") %&gt;\n\n&lt;main&gt;\n &lt;h1&gt;&lt;%= note.title %&gt;&lt;/h1&gt;\n &lt;%- content %&gt;\n&lt;/main&gt;\n\n&lt;%- include(\"footer\") %&gt;\n</code></pre><p>Here <code spellcheck=\"false\">header</code> and <code spellcheck=\"false\">footer</code> are the titles of child notes of the template. Only direct children are resolvable, and they must be EJS code notes.</p>",
"_help_5668rwcirq1t": "<p>Trilium offers advanced functionality through <a href=\"#root/_help_CdNpE2pqjmI6\">Scripts</a> and <a href=\"#root/_help_OFXdgB2nNk1F\">Promoted Attributes</a>. To illustrate these features, we've prepared several showcases available in the <a href=\"#root/_help_wX4HbRucYSDD\">demo notes</a>:</p><ul><li><a href=\"#root/_help_iRwzGnHPzonm\">Relation Map</a></li><li><a href=\"#root/_help_l0tKav7yLHGF\">Day Notes</a></li><li><a href=\"#root/_help_R7abl2fc6Mxi\">Weight Tracker</a></li><li><a href=\"#root/_help_xYjQUYhpbUEW\">Task Manager</a></li></ul><p>It's important to note that these examples are not natively supported by Trilium out of the box; instead, they demonstrate what you can build within Trilium.</p>",
- "_help_l0tKav7yLHGF": "<p>A common pattern in note-taking is that a lot of notes will be centered around a certain date - e.g. you have some tasks which needs to be done on a certain date, you have meeting minutes from a certain date, you have your thoughts etc. and it all revolves around a date on which they occurred. For this reason, it makes sense to create a certain \"day workspace\" which will centralize all those notes relevant for a certain date.</p><p>For this, Trilium provides a concept of \"day note\". Trilium semi-automatically generates a single note for each day. Under this note you can save all those relevant notes.</p><p>Select an existing day note, and the menubar contains a calendar widget. Select any day to create a note for that day.&nbsp;</p><p><img src=\"{{helpAssets}}/User%20Guide/Advanced%20Usage/Advanced%20Showcases/1_Day%20Notes_image.jpg\"></p><p>This pattern works well also because of <a href=\"#root/_help_IakOLONlIfGI\">Cloning Notes</a> 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.</p><h2>Demo</h2><p><img src=\"{{helpAssets}}/User%20Guide/Advanced%20Usage/Advanced%20Showcases/Day%20Notes_image.png\"></p><p>You can see the structure of day notes appearing under \"Journal\" note - there's a note for the whole year 2025, under it, you have \"03 - March\" which then contains \"09 - Monday\". This is our \"day note\" which contains some text in its content and also has some child notes (some of them are from <a href=\"#root/_help_xYjQUYhpbUEW\">Task manager</a>).</p><p>You can also notice how this day note has <a href=\"#root/_help_OFXdgB2nNk1F\">promoted attribute</a> \"weight\" where you can track your daily weight. This data is then used in <a href=\"#root/_help_R7abl2fc6Mxi\">Weight tracker</a>.</p><h2>Week Note and Quarter Note</h2><p>Week and quarter notes are disabled by default, since it might be too much for some people. To enable them, you need to set <code spellcheck=\"false\">#enableWeekNote</code> and <code spellcheck=\"false\">#enableQuarterNote</code> attributes on the root calendar note, which is identified by <code spellcheck=\"false\">#calendarRoot</code> label. Week note is affected by the first week of year option. Be careful when you already have some week notes created, it will not automatically change the existing week notes and might lead to some duplicates.</p><h2>Templates</h2><p>Trilium provides <a href=\"#root/_help_KC1HB96bqqHX\">template</a> functionality, and it could be used together with day notes.</p><p>You can define one of the following relations on the root of the journal (identified by <code spellcheck=\"false\">#calendarRoot</code> label):</p><ul><li>yearTemplate</li><li>quarterTemplate (if <code spellcheck=\"false\">#enableQuarterNote</code> is set)</li><li>monthTemplate</li><li>weekTemplate (if <code spellcheck=\"false\">#enableWeekNote</code> is set)</li><li>dateTemplate</li></ul><p>All of these are relations. When Trilium creates a new note for year or month or date, it will take a look at the root and attach a corresponding <code spellcheck=\"false\">~template</code> relation to the newly created role. Using this, you can e.g. create your daily template with e.g. checkboxes for daily routine etc.</p><h3>Migrate from old template usage</h3><p>If you have been using Journal prior to version v0.93.0, the previous template pattern likely used was <code spellcheck=\"false\">~child:template=</code>.<br>To transition to the new system:</p><ol><li>Set up the new template pattern in the Calendar root note.</li><li>Use <a href=\"#root/_help_ivYnonVFBxbQ\">Bulk Actions</a> to remove <code spellcheck=\"false\">child:template</code> and <code spellcheck=\"false\">child:child:template</code> from all notes under the Journal (calendar root).</li><li>Ensure that all old template patterns are fully removed to prevent conflicts with the new setup.</li></ol><h2>Naming pattern</h2><p>You can customize the title of generated journal notes by defining a <code spellcheck=\"false\">#datePattern</code>, <code spellcheck=\"false\">#weekPattern</code>, <code spellcheck=\"false\">#monthPattern</code>, <code spellcheck=\"false\">#quarterPattern</code> and <code spellcheck=\"false\">#yearPattern</code> attribute on a root calendar note (identified by <code spellcheck=\"false\">#calendarRoot</code> label). The naming pattern replacements follow a level-up compatibility - each level can use replacements from itself and all levels above it. For example, <code spellcheck=\"false\">#monthPattern</code> can use month, quarter and year replacements, while <code spellcheck=\"false\">#weekPattern</code> can use week, month, quarter and year replacements. But it is not possible to use week replacements in <code spellcheck=\"false\">#monthPattern</code>.</p><h3>Date pattern</h3><p>It's possible to customize the title of generated date notes by defining a <code spellcheck=\"false\">#datePattern</code> attribute on a root calendar note (identified by <code spellcheck=\"false\">#calendarRoot</code> label). Following are possible values:</p><ul><li><code spellcheck=\"false\">{isoDate}</code> results in an ISO 8061 formatted date (e.g. \"2025-03-09\" for March 9, 2025)</li><li><code spellcheck=\"false\">{dateNumber}</code> results in a number like <code spellcheck=\"false\">9</code> for the 9th day of the month, <code spellcheck=\"false\">11</code> for the 11th day of the month</li><li><code spellcheck=\"false\">{dateNumberPadded}</code> results in a number like <code spellcheck=\"false\">09</code> for the 9th day of the month, <code spellcheck=\"false\">11</code> for the 11th day of the month</li><li><code spellcheck=\"false\">{ordinal}</code> is replaced with the ordinal date (e.g. 1st, 2nd, 3rd) etc.</li><li><code spellcheck=\"false\">{weekDay}</code> results in the full day name (e.g. <code spellcheck=\"false\">Monday</code>)</li><li><code spellcheck=\"false\">{weekDay3}</code> is replaced with the first 3 letters of the day, e.g. Mon, Tue, etc.</li><li><code spellcheck=\"false\">{weekDay2}</code> is replaced with the first 2 letters of the day, e.g. Mo, Tu, etc.</li></ul><p>The default is <code spellcheck=\"false\">{dateNumberPadded} - {weekDay}</code></p><h3>Week pattern</h3><p>It is also possible to customize the title of generated week notes through the <code spellcheck=\"false\">#weekPattern</code> attribute on the root calendar note. The options are:</p><ul><li><code spellcheck=\"false\">{weekNumber}</code> results in a number like <code spellcheck=\"false\">9</code> for the 9th week of the year, <code spellcheck=\"false\">11</code> for the 11th week of the year</li><li><code spellcheck=\"false\">{weekNumberPadded}</code> results in a number like <code spellcheck=\"false\">09</code> for the 9th week of the year, <code spellcheck=\"false\">11</code> for the 11th week of the year</li><li><code spellcheck=\"false\">{shortWeek}</code> results in a short week string like <code spellcheck=\"false\">W9</code> for the 9th week of the year, <code spellcheck=\"false\">W11</code> for the 11th week of the year</li><li><code spellcheck=\"false\">{shortWeek3}</code> results in a short week string like <code spellcheck=\"false\">W09</code> for the 9th week of the year, <code spellcheck=\"false\">W11</code> for the 11th week of the year</li></ul><p>The default is <code spellcheck=\"false\">Week {weekNumber}</code></p><h3>Month pattern</h3><p>It is also possible to customize the title of generated month notes through the <code spellcheck=\"false\">#monthPattern</code> attribute on the root calendar note. The options are:</p><ul><li><code spellcheck=\"false\">{isoMonth}</code> results in an ISO 8061 formatted month (e.g. \"2025-03\" for March 2025)</li><li><code spellcheck=\"false\">{monthNumber}</code> results in a number like <code spellcheck=\"false\">9</code> for September, and <code spellcheck=\"false\">11</code> for November</li><li><code spellcheck=\"false\">{monthNumberPadded}</code> results in a number like <code spellcheck=\"false\">09</code> for September, and <code spellcheck=\"false\">11</code> for November</li><li><code spellcheck=\"false\">{month}</code> results in the full month name (e.g. <code spellcheck=\"false\">September</code> or <code spellcheck=\"false\">October</code>)</li><li><code spellcheck=\"false\">{shortMonth3}</code> is replaced with the first 3 letters of the month, e.g. Jan, Feb, etc.</li><li><code spellcheck=\"false\">{shortMonth4}</code> is replaced with the first 4 letters of the month, e.g. Sept, Octo, etc.</li></ul><p>The default is <code spellcheck=\"false\">{monthNumberPadded} - {month}</code></p><h3>Quarter pattern</h3><p>It is also possible to customize the title of generated quarter notes through the <code spellcheck=\"false\">#quarterPattern</code> attribute on the root calendar note. The options are:</p><ul><li><code spellcheck=\"false\">{quarterNumber}</code> results in a number like <code spellcheck=\"false\">1</code> for the 1st quarter of the year</li><li><code spellcheck=\"false\">{shortQuarter}</code> results in a short quarter string like <code spellcheck=\"false\">Q1</code> for the 1st quarter of the year</li></ul><p>The default is <code spellcheck=\"false\">Quarter {quarterNumber}</code></p><h3>Year pattern</h3><p>It is also possible to customize the title of generated year notes through the <code spellcheck=\"false\">#yearPattern</code> attribute on the root calendar note. The options are:</p><ul><li><code spellcheck=\"false\">{year}</code> results in the full year (e.g. <code spellcheck=\"false\">2025</code>)</li></ul><p>The default is <code spellcheck=\"false\">{year}</code></p><h2>Implementation</h2><p>Trilium has some special support for day notes in the form of <a href=\"https://triliumnext.github.io/Notes/backend_api/BackendScriptApi.html\">backend Script API</a> - see e.g. getDayNote() function.</p><p>Day (and year, month) notes are created with a label - e.g. <code spellcheck=\"false\">#dateNote=\"2025-03-09\"</code> this can then be used by other scripts to add new notes to day note etc.</p>",
+ "_help_l0tKav7yLHGF": "<p>A common pattern in note-taking is that a lot of notes will be centered around a certain date - e.g. you have some tasks which needs to be done on a certain date, you have meeting minutes from a certain date, you have your thoughts etc. and it all revolves around a date on which they occurred. For this reason, it makes sense to create a certain \"day workspace\" which will centralize all those notes relevant for a certain date.</p><p>For this, Trilium provides a concept of \"day note\". Trilium semi-automatically generates a single note for each day. Under this note you can save all those relevant notes.</p><p>Select an existing day note, and the menubar contains a calendar widget. Select any day to create a note for that day.&nbsp;</p><p><img src=\"{{helpAssets}}/User%20Guide/Advanced%20Usage/Advanced%20Showcases/Day%20Notes_image.jpg\"></p><p>This pattern works well also because of <a href=\"#root/_help_IakOLONlIfGI\">Cloning Notes</a> 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.</p><h2>Demo</h2><p><img src=\"{{helpAssets}}/User%20Guide/Advanced%20Usage/Advanced%20Showcases/Day%20Notes_image.png\"></p><p>You can see the structure of day notes appearing under \"Journal\" note - there's a note for the whole year 2025, under it, you have \"03 - March\" which then contains \"09 - Monday\". This is our \"day note\" which contains some text in its content and also has some child notes (some of them are from <a href=\"#root/_help_xYjQUYhpbUEW\">Task manager</a>).</p><p>You can also notice how this day note has <a href=\"#root/_help_OFXdgB2nNk1F\">promoted attribute</a> \"weight\" where you can track your daily weight. This data is then used in <a href=\"#root/_help_R7abl2fc6Mxi\">Weight tracker</a>.</p><h2>Week Note and Quarter Note</h2><p>Week and quarter notes are disabled by default, since it might be too much for some people. To enable them, you need to set <code spellcheck=\"false\">#enableWeekNote</code> and <code spellcheck=\"false\">#enableQuarterNote</code> attributes on the root calendar note, which is identified by <code spellcheck=\"false\">#calendarRoot</code> label. Week note is affected by the first week of year option. Be careful when you already have some week notes created, it will not automatically change the existing week notes and might lead to some duplicates.</p><h2>Templates</h2><p>Trilium provides <a href=\"#root/_help_KC1HB96bqqHX\">template</a> functionality, and it could be used together with day notes.</p><p>You can define one of the following relations on the root of the journal (identified by <code spellcheck=\"false\">#calendarRoot</code> label):</p><ul><li>yearTemplate</li><li>quarterTemplate (if <code spellcheck=\"false\">#enableQuarterNote</code> is set)</li><li>monthTemplate</li><li>weekTemplate (if <code spellcheck=\"false\">#enableWeekNote</code> is set)</li><li>dateTemplate</li></ul><p>All of these are relations. When Trilium creates a new note for year or month or date, it will take a look at the root and attach a corresponding <code spellcheck=\"false\">~template</code> relation to the newly created role. Using this, you can e.g. create your daily template with e.g. checkboxes for daily routine etc.</p><h3>Migrate from old template usage</h3><p>If you have been using Journal prior to version v0.93.0, the previous template pattern likely used was <code spellcheck=\"false\">~child:template=</code>.<br>To transition to the new system:</p><ol><li>Set up the new template pattern in the Calendar root note.</li><li>Use <a href=\"#root/_help_ivYnonVFBxbQ\">Bulk Actions</a> to remove <code spellcheck=\"false\">child:template</code> and <code spellcheck=\"false\">child:child:template</code> from all notes under the Journal (calendar root).</li><li>Ensure that all old template patterns are fully removed to prevent conflicts with the new setup.</li></ol><h2>Naming pattern</h2><p>You can customize the title of generated journal notes by defining a <code spellcheck=\"false\">#datePattern</code>, <code spellcheck=\"false\">#weekPattern</code>, <code spellcheck=\"false\">#monthPattern</code>, <code spellcheck=\"false\">#quarterPattern</code> and <code spellcheck=\"false\">#yearPattern</code> attribute on a root calendar note (identified by <code spellcheck=\"false\">#calendarRoot</code> label). The naming pattern replacements follow a level-up compatibility - each level can use replacements from itself and all levels above it. For example, <code spellcheck=\"false\">#monthPattern</code> can use month, quarter and year replacements, while <code spellcheck=\"false\">#weekPattern</code> can use week, month, quarter and year replacements. But it is not possible to use week replacements in <code spellcheck=\"false\">#monthPattern</code>.</p><h3>Date pattern</h3><p>It's possible to customize the title of generated date notes by defining a <code spellcheck=\"false\">#datePattern</code> attribute on a root calendar note (identified by <code spellcheck=\"false\">#calendarRoot</code> label). Following are possible values:</p><ul><li><code spellcheck=\"false\">{isoDate}</code> results in an ISO 8061 formatted date (e.g. \"2025-03-09\" for March 9, 2025)</li><li><code spellcheck=\"false\">{dateNumber}</code> results in a number like <code spellcheck=\"false\">9</code> for the 9th day of the month, <code spellcheck=\"false\">11</code> for the 11th day of the month</li><li><code spellcheck=\"false\">{dateNumberPadded}</code> results in a number like <code spellcheck=\"false\">09</code> for the 9th day of the month, <code spellcheck=\"false\">11</code> for the 11th day of the month</li><li><code spellcheck=\"false\">{ordinal}</code> is replaced with the ordinal date (e.g. 1st, 2nd, 3rd) etc.</li><li><code spellcheck=\"false\">{weekDay}</code> results in the full day name (e.g. <code spellcheck=\"false\">Monday</code>)</li><li><code spellcheck=\"false\">{weekDay3}</code> is replaced with the first 3 letters of the day, e.g. Mon, Tue, etc.</li><li><code spellcheck=\"false\">{weekDay2}</code> is replaced with the first 2 letters of the day, e.g. Mo, Tu, etc.</li></ul><p>The default is <code spellcheck=\"false\">{dateNumberPadded} - {weekDay}</code></p><h3>Week pattern</h3><p>It is also possible to customize the title of generated week notes through the <code spellcheck=\"false\">#weekPattern</code> attribute on the root calendar note. The options are:</p><ul><li><code spellcheck=\"false\">{weekNumber}</code> results in a number like <code spellcheck=\"false\">9</code> for the 9th week of the year, <code spellcheck=\"false\">11</code> for the 11th week of the year</li><li><code spellcheck=\"false\">{weekNumberPadded}</code> results in a number like <code spellcheck=\"false\">09</code> for the 9th week of the year, <code spellcheck=\"false\">11</code> for the 11th week of the year</li><li><code spellcheck=\"false\">{shortWeek}</code> results in a short week string like <code spellcheck=\"false\">W9</code> for the 9th week of the year, <code spellcheck=\"false\">W11</code> for the 11th week of the year</li><li><code spellcheck=\"false\">{shortWeek3}</code> results in a short week string like <code spellcheck=\"false\">W09</code> for the 9th week of the year, <code spellcheck=\"false\">W11</code> for the 11th week of the year</li></ul><p>The default is <code spellcheck=\"false\">Week {weekNumber}</code></p><h3>Month pattern</h3><p>It is also possible to customize the title of generated month notes through the <code spellcheck=\"false\">#monthPattern</code> attribute on the root calendar note. The options are:</p><ul><li><code spellcheck=\"false\">{isoMonth}</code> results in an ISO 8061 formatted month (e.g. \"2025-03\" for March 2025)</li><li><code spellcheck=\"false\">{monthNumber}</code> results in a number like <code spellcheck=\"false\">9</code> for September, and <code spellcheck=\"false\">11</code> for November</li><li><code spellcheck=\"false\">{monthNumberPadded}</code> results in a number like <code spellcheck=\"false\">09</code> for September, and <code spellcheck=\"false\">11</code> for November</li><li><code spellcheck=\"false\">{month}</code> results in the full month name (e.g. <code spellcheck=\"false\">September</code> or <code spellcheck=\"false\">October</code>)</li><li><code spellcheck=\"false\">{shortMonth3}</code> is replaced with the first 3 letters of the month, e.g. Jan, Feb, etc.</li><li><code spellcheck=\"false\">{shortMonth4}</code> is replaced with the first 4 letters of the month, e.g. Sept, Octo, etc.</li></ul><p>The default is <code spellcheck=\"false\">{monthNumberPadded} - {month}</code></p><h3>Quarter pattern</h3><p>It is also possible to customize the title of generated quarter notes through the <code spellcheck=\"false\">#quarterPattern</code> attribute on the root calendar note. The options are:</p><ul><li><code spellcheck=\"false\">{quarterNumber}</code> results in a number like <code spellcheck=\"false\">1</code> for the 1st quarter of the year</li><li><code spellcheck=\"false\">{shortQuarter}</code> results in a short quarter string like <code spellcheck=\"false\">Q1</code> for the 1st quarter of the year</li></ul><p>The default is <code spellcheck=\"false\">Quarter {quarterNumber}</code></p><h3>Year pattern</h3><p>It is also possible to customize the title of generated year notes through the <code spellcheck=\"false\">#yearPattern</code> attribute on the root calendar note. The options are:</p><ul><li><code spellcheck=\"false\">{year}</code> results in the full year (e.g. <code spellcheck=\"false\">2025</code>)</li></ul><p>The default is <code spellcheck=\"false\">{year}</code></p><h2>Implementation</h2><p>Trilium has some special support for day notes in the form of <a href=\"https://triliumnext.github.io/Notes/backend_api/BackendScriptApi.html\">backend Script API</a> - see e.g. getDayNote() function.</p><p>Day (and year, month) notes are created with a label - e.g. <code spellcheck=\"false\">#dateNote=\"2025-03-09\"</code> this can then be used by other scripts to add new notes to day note etc.</p>",
"_help_R7abl2fc6Mxi": "<p><img src=\"{{helpAssets}}/User%20Guide/Advanced%20Usage/Advanced%20Showcases/Weight%20Tracker_image.jpg\"></p><p>The <code spellcheck=\"false\">Weight Tracker</code> is a <a href=\"#root/_help_GLks18SNjxmC\">Script API</a> showcase present in the <a href=\"#root/_help_wX4HbRucYSDD\">demo notes</a>.</p><p>By adding <code spellcheck=\"false\">weight</code> as a <a href=\"#root/_help_OFXdgB2nNk1F\">promoted attribute</a> in the <a href=\"#root/_help_KC1HB96bqqHX\">template</a> from which <a href=\"#root/_help_l0tKav7yLHGF\">day notes</a> are created, you can aggregate the data and plot weight change over time.</p><h2>Implementation</h2><p>The <code spellcheck=\"false\">Weight Tracker</code> note in the screenshot above is of the type <code spellcheck=\"false\">Render Note</code>. That type of note doesn't have any useful content itself. Instead it is a placeholder where a <a href=\"#root/_help_CdNpE2pqjmI6\">script</a> can render its output.</p><p>Scripts for <code spellcheck=\"false\">Render Notes</code> are defined in a <a href=\"#root/_help_zEY4DaJG4YT5\">relation</a> called <code spellcheck=\"false\">~renderNote</code>. In this example, it's the <code spellcheck=\"false\">Weight Tracker</code>'s child <code spellcheck=\"false\">Implementation</code>. The Implementation consists of two <a href=\"#root/_help_6f9hih2hXXZk\">code notes</a> that contain some HTML and JavaScript respectively, which load all the notes with a <code spellcheck=\"false\">weight</code> attribute and display their values in a chart.</p><p>To actually render the chart, we're using a third party library called <a href=\"https://www.chartjs.org/\">chart.js</a>which is imported as an attachment, since it's not built into Trilium.</p><h3>Code</h3><p>Here's the content of the script which is placed in a <a href=\"#root/_help_6f9hih2hXXZk\">code note</a> of type <code spellcheck=\"false\">JS Frontend</code>:</p><pre><code class=\"language-text-x-trilium-auto\">async function getChartData() {\n const days = await api.runOnBackend(async () =&gt; {\n const notes = api.getNotesWithLabel('weight');\n const days = [];\n\n for (const note of notes) {\n const date = note.getLabelValue('dateNote');\n const weight = parseFloat(note.getLabelValue('weight'));\n\n if (date &amp;&amp; weight) {\n days.push({ date, weight });\n }\n }\n\n days.sort((a, b) =&gt; a.date &gt; b.date ? 1 : -1);\n\n return days;\n });\n\n const datasets = [\n {\n label: \"Weight (kg)\",\n backgroundColor: 'red',\n borderColor: 'red',\n data: days.map(day =&gt; day.weight),\n fill: false,\n spanGaps: true,\n datalabels: {\n display: false\n }\n }\n ];\n\n return {\n datasets: datasets,\n labels: days.map(day =&gt; day.date)\n };\n}\n\nconst ctx = $(\"#canvas\")[0].getContext(\"2d\");\n\nnew chartjs.Chart(ctx, {\n type: 'line',\n data: await getChartData()\n});</code></pre><h2>How to remove the Weight Tracker button from the top bar</h2><p>In the link map of the <code spellcheck=\"false\">Weight Tracker</code>, there is a note called <code spellcheck=\"false\">Button</code>. Open it and delete or comment out its contents. The <code spellcheck=\"false\">Weight Tracker</code> button will disappear after you restart Trilium.</p>",
"_help_xYjQUYhpbUEW": "<p>Task Manager is a <a href=\"#root/_help_OFXdgB2nNk1F\">promoted attributes</a> and <a href=\"#root/_help_CdNpE2pqjmI6\">scripts</a>showcase present in the <a href=\"#root/_help_wX4HbRucYSDD\">demo notes</a>.</p><h2>Demo</h2><p><img src=\"{{helpAssets}}/User%20Guide/Advanced%20Usage/Advanced%20Showcases/Task%20Manager_task-manager.png\"></p><p>Task Manager manages outstanding (TODO) tasks and finished tasks (non-empty 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.</p><p>Task Manager also integrates with <a href=\"#root/_help_l0tKav7yLHGF\">day notes</a> - notes are <a href=\"#root/_help_IakOLONlIfGI\">cloned</a> into day note to both todoDate note and doneDate note (with <a href=\"#root/_help_kBrnXNG3Hplm\">prefix</a> of either \"TODO\" or \"DONE\").</p><h2>Implementation</h2><p>New tasks are created in the TODO note which has <code spellcheck=\"false\">~child:template</code> <a href=\"#root/_help_zEY4DaJG4YT5\">relation</a>(see <a href=\"#root/_help_bwZpz2ajCEwO\">attribute inheritance</a>) pointing to the task template.</p><h3>Attributes</h3><p>Task template defines several <a href=\"#root/_help_OFXdgB2nNk1F\">promoted attributes</a> - todoDate, doneDate, tags, location. Importantly it also defines <code spellcheck=\"false\">~runOnAttributeChange</code> relation - <a href=\"#root/_help_GPERMystNGTB\">event</a> handler which is run on attribute change. This <a href=\"#root/_help_CdNpE2pqjmI6\">script</a> 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.</p><h3>New task button</h3><p>There's also \"button\" note which contains simple script which adds a button to create new note (task) in the TODO note.</p><pre><code class=\"language-text-x-trilium-auto\">api.addButtonToToolbar({\n title: 'New task',\n icon: 'check',\n shortcut: 'alt+n',\n action: async () =&gt; {\n // creating notes is backend (server) responsibility so we need to pass\n // the control there\n const taskNoteId = await api.runOnBackend(async () =&gt; {\n const todoRootNote = await api.getNoteWithLabel('taskTodoRoot');\n const {note} = await api.createNote(todoRootNote.noteId, 'new task', '');\n\n return note.noteId;\n });\n\n // we got an ID of newly created note and we want to immediatelly display it\n await api.activateNewNote(taskNoteId);\n }\n});</code></pre><h3>CSS</h3><p>In the demo screenshot above you may notice that TODO tasks are in red color and DONE tasks are green.</p><p>This is done by having this CSS <a href=\"#root/_help_6f9hih2hXXZk\">code note</a> which defines extra CSS classes:</p><pre><code class=\"language-text-x-trilium-auto\">span.fancytree-node.todo .fancytree-title {\n color: red !important;\n}\n\nspan.fancytree-node.done .fancytree-title {\n color: green !important;\n}</code></pre><p>This <a href=\"#root/_help_6f9hih2hXXZk\">code note</a> has <code spellcheck=\"false\">#appCss</code> <a href=\"#root/_help_zEY4DaJG4YT5\">label</a>which is recognized by Trilium on startup and loaded as CSS into the application.</p><p>Second part of this functionality is based in event handler described above which assigns <code spellcheck=\"false\">#cssClass</code> label to the task to either \"done\" or \"todo\" based on the task status.</p>",
"_help_i16PM6A7GXdU": "<p>Trilium features customizable to-do list task states. To customize them, go to <strong>\"Options\"</strong> → <strong>\"Text Notes\"</strong> → <strong>\"Related Settings\"</strong> → <strong>\"Custom checkbox states for to-do lists\"</strong>. Alternatively, right-click a checkbox in an editable text note and click the pencil icon.</p><aside class=\"admonition warning\"><p>Changes take effect only after restarting the application.</p></aside><h2>Creating a new task state</h2><p>Click the plus icon next to Task States in the left-side pane, then define the task details as described in the next section.</p><h2>Editing a task state</h2><p>Selecting any state other than \"None\" and \"Done\" (which cannot be modified) from the side pane reveals the following editable fields:</p><ul><li><strong>Icon</strong> (required): The symbol shown inside the checkbox. You can pick an icon just as you would for any regular note, including from custom icon packs.</li><li><strong>Title</strong> (required): The name of the task state shown in the UI. For example: \"Doing\", \"Postponed\".</li><li><strong>Identifier</strong> (required): A short name for the state, using only letters, digits, \"<code spellcheck=\"false\">-</code>\" and \"<code spellcheck=\"false\">_</code>\". It is stored as metadata in the note's markup and used to identify the task state. Two task states cannot share the same identifier.<br>Prefix the identifiers of your custom task states with an underscore \"<code spellcheck=\"false\">_</code>\" or a hyphen \"<code spellcheck=\"false\">-</code>\" to avoid clashes with task states that may be introduced in future versions of Trilium.</li><li><strong>Markdown symbol</strong>: A single character used to represent the state in Markdown syntax. For example, \"<code spellcheck=\"false\">#</code>\" creates a task state that can be applied in Markdown using \" <code spellcheck=\"false\">- [#]</code> \". Make sure no other task state uses the same symbol.</li><li><strong>Counts as completed</strong>: If checked, the task is treated as completed.</li><li><strong>Color</strong>: The color of the checkbox. Its lightness and saturation are adjusted automatically to match the current color scheme or theme.</li><li><strong>Hidden from toolbar</strong>: The state is not listed in the UI. This is useful when you want existing notes to keep rendering the state correctly but no longer need to apply it yourself.</li></ul><aside class=\"admonition note\"><p>The task definition details are validated at startup. If errors are found, a toast provides the details and the affected task definition is ignored.</p></aside><h2>Reordering task states</h2><p>To change the order in which task states appear in the UI and when cycling through them with the keyboard, simply reorder the states in the side pane (or tree panel, if it's the case).</p><h2>Deleting task states</h2><p>Any task state other than \"None\" and \"Done\" can be deleted.</p><p>Once deleted, to-do items using that state will no longer display the custom checkbox. They fall back to either a \"None\" or \"Done\" state, depending on the state's \"Counts as completed\" setting. The identifier and title remain stored in the note until you set the checkbox to a new state.</p><h2>Transferring notes with custom task states between Trilium database instances</h2><p>Exporting notes to another Trilium database instance preserves the task states of to-do items, but does not include the custom task definitions. As a result, the destination instance won't know how to render the checkbox unless you recreate the task state there with the same identifier and Markdown symbol.</p><aside class=\"admonition note\"><p>This is a known limitation of the current version. If there is enough interest in the community for transferring notes between Trilium database instances more easily, the Trilium team may consider a better state definition mechanism.</p></aside>",
@@ -207,7 +207,7 @@
"_help_47ZrP6FNuoG8": "<p>When a new note is created, its name is by default \"new note\". In some cases, it can be desirable to have a different or even a dynamic default note title.</p><p>For this use case, Trilium (since v0.52) supports <code spellcheck=\"false\">#titleTemplate</code> <a href=\"#root/_help_zEY4DaJG4YT5\">label</a>. 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 everywhere.</p><p>As an example use case, imagine you collect books you've read in a given year like this:</p><ul><li>2022 Books<ul><li>Neal Stephenson: Anathem, 2008</li><li>Franz Kafka: Die Verwandlung, 1915</li></ul></li></ul><p>Now, to the parent note \"2022 Books\" you can assign label <code spellcheck=\"false\">#titleTemplate=\"[Author name]: [Book title], [Publication year]\"</code>.</p><p>And all children of \"2022 Books\" will be created with initial title \"[Author name]: [Book title], [Publication year]\". There's no artificial intelligence here, the idea is to just prompt you to manually fill in the pieces of information into the note title by yourself.</p><h2>Dynamic value</h2><p>The value of <code spellcheck=\"false\">#titleTemplate</code> is evaluated at the point of note's creation as a JavaScript string, which means it can be enriched with the help of JS string interpolation with dynamic data.</p><p>Second variable injected is <code spellcheck=\"false\">parentNote</code> which gives access to the parent <a href=\"{{helpAssets}}/User%20Guide/Scripting/Script%20API/Frontend%20API/FNote.dat\"><code spellcheck=\"false\">FNote</code></a>.</p><p>See also&nbsp;<a class=\"reference-link\" href=\"#root/_help_KC1HB96bqqHX\">Templates</a>&nbsp;which provides similar capabilities, including default note's content.</p><h3>Examples</h3><ul><li>Imagine you collect server outage incidents and write some notes. It looks like this:<ul><li>Incidents<ul><li>2022-05-09: System crash</li><li>2022-05-15: Backup delay</li></ul></li><li>You can automatize the date assignment by assigning a label <code spellcheck=\"false\">#titleTemplate=\"${now.format('YYYY-MM-DD')}: \"</code> to the parent note \"Incidents\". Whenever a new child note is created, the title template is evaluated with the injected <a href=\"https://day.js.org/docs/en/display/format\">now</a> object.</li></ul></li><li>To use a parent's attribute in the title of new notes: <code spellcheck=\"false\">#titleTemplate=\"${parentNote.getLabelValue('authorName')}'s literary works\"</code></li><li>To mirror the parent's note title: <code spellcheck=\"false\">${parentNote.title}</code></li></ul>",
"_help_wX4HbRucYSDD": "<p>Your Trilium data is stored in a <a href=\"https://www.sqlite.org\">SQLite</a> database which contains all notes, tree structure, metadata, and most of the configuration. The database file is named <code spellcheck=\"false\">document.db</code> and is stored in the application's default&nbsp;<a href=\"#root/_help_tAassRL4RSQL\">Data directory</a>.</p><h2>Demo Notes</h2><p>When first starting Trilium, it will provide a set of notes to showcase various features of the application.</p><p>For more information see&nbsp;<a class=\"reference-link\" href=\"#root/_help_6tZeKvSHEUiB\">Demo Notes</a>.</p><h2>Manually Modifying the Database</h2><p>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 <a href=\"https://sqlitebrowser.org/\">SQLite Browser</a> to work directly on the database file.</p><p>See&nbsp;<a href=\"#root/_help_oyIAJ9PvvwHX\">Manually altering the database</a>&nbsp;for more information.</p><h2>How to Reset the Database</h2><p>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.</p><p>To delete the database, simply go to the <a href=\"#root/_help_tAassRL4RSQL\">data directory</a> and delete the <code spellcheck=\"false\">document.db</code> file (and any other files starting with <code spellcheck=\"false\">document.db</code>).</p><p>If you do not need to preserve any configurations that might be stored in the <code spellcheck=\"false\">config.ini</code> file, you can just delete all of the <a href=\"#root/_help_tAassRL4RSQL\">data directory's</a> contents to fully restore the application to its original state. You can also review the <a href=\"#root/_help_Gzjqa934BdH4\">configuration</a> file to provide all <code spellcheck=\"false\">config.ini</code> values as environment variables instead.</p>",
"_help_oyIAJ9PvvwHX": "<p>There are some situations where modifying the SQLite database that Trilium uses is desirable.</p><p>If you are doing any advanced development or troubleshooting where you manually modify the database, you might want to consider creating backups of your <code spellcheck=\"false\">document.db</code> file.</p><h2>Modifying it internally using the SQL Console</h2><p>The SQL Console is Trilium's built-in database editor.</p><p>See&nbsp;<a class=\"reference-link\" href=\"#root/_help_YKWqdJhzi2VY\">SQL Console</a>.</p><h2>Externally modifying the database</h2><p>Sometimes the SQL Console cannot be used (for example if the application cannot start).</p><p>When making external modifications, consider closing the desktop application. If modifying the server database, then stop the service or Docker container.</p><h3>Using DB Browser for SQLite</h3><p>DB Browser for SQLite is a cross-platform editor that can be used to alter the database using a graphical user interface.</p><p>To do so:</p><ol><li>In the main menu, select File → Open database… and navigate to the database in the&nbsp;<a href=\"#root/_help_tAassRL4RSQL\">Data directory</a>.</li><li>Select the <em>Execute SQL</em> tab.</li><li>Type in the desired SQL statement.</li><li>Press the \"Play\" button in the toolbar underneath the \"Execute SQL\" tab (or F5 key).</li><li>Press \"Write Changes\" in the main toolbar.</li><li>Close the application or close the database.</li></ol><p><img src=\"{{helpAssets}}/User%20Guide/Advanced%20Usage/Database/Manually%20altering%20the%20database_image.jpg\"></p><h3>Using the SQLite CLI</h3><p>First, start the SQLite 3 CLI by specifying the path to the database:</p><pre><code class=\"language-text-x-trilium-auto\">sqlite3 ~/.local/share/trilium-data/document.db</code></pre><ul><li>In the prompt simply type the statement and make sure it ends with a <code spellcheck=\"false\">;</code> character.</li><li>To exit, simply type <code spellcheck=\"false\">.quit</code> and enter.</li></ul>",
- "_help_YKWqdJhzi2VY": "<aside class=\"admonition important\"><p>Starting with v0.104.0, backend scripts are disabled by default to reduce the attack surface. See&nbsp;<a class=\"reference-link\" href=\"#root/_help_fiHicjpHjIRJ\">Security</a>&nbsp;for more information.</p></aside><p>The SQL Console is Trilium's built-in database editor.</p><p>It can be accessed by going to the&nbsp;<a class=\"reference-link\" href=\"#root/_help_x3i7MxGccDuM\">Global menu</a>&nbsp;→ Advanced → Open SQL Console.</p><p><img src=\"{{helpAssets}}/User%20Guide/Advanced%20Usage/Database/Manually%20altering%20the%20database/SQL%20Console_image.jpg\"></p><h3>Interaction</h3><ul><li>Hovering the mouse over one of the tables listed at the top of the document will show the columns and their data type.</li><li>Only one SQL statement can be run at once.</li><li>To run the statement, press the <em>Execute</em> icon.</li><li>For queries that return a result, the data will displayed in a table.</li><li>For statements (e.g. <code spellcheck=\"false\">INSERT</code>, <code spellcheck=\"false\">UPDATE</code>), the number of affected rows is displayed.</li></ul><figure class=\"image\"><img style=\"aspect-ratio:1124/571;\" src=\"{{helpAssets}}/User%20Guide/Advanced%20Usage/Database/Manually%20altering%20the%20database/2_SQL%20Console_image.png\" width=\"1124\" height=\"571\"></figure><h3>Interacting with the table</h3><p>After executing a query, a table with the results will be displayed:</p><ul><li>Clicking on a column allows sorting ascending or descending.</li><li>Underneath each column there is an input field which allows filtering by text.</li><li>Press <kbd>Ctrl</kbd>+<kbd>C</kbd> to copy the current cell to clipboard.</li><li>Multiple cells can be selected by dragging or by holding <kbd>Shift</kbd> + arrow keys</li><li>Results are paginated for performance reasons. The controls at the bottom of the table can be used to navigate through pages.</li></ul><h3>Saved SQL console</h3><p>SQL queries or commands can be saved into a dedicated note.</p><p>To do so, simply write the query and press the <img src=\"{{helpAssets}}/User%20Guide/Advanced%20Usage/Database/Manually%20altering%20the%20database/1_SQL%20Console_image.png\"> button. Once saved, the note will appear in&nbsp;<a class=\"reference-link\" href=\"#root/_help_l0tKav7yLHGF\">Day Notes</a>&nbsp;by default. It is possible to change the default location of saved queries by assigning a <code spellcheck=\"false\">#sqlConsoleHome</code> <a href=\"#root/_help_HI6GBBIduIgv\">label</a>.</p><p>The note can be locked for editing by pressing the <em>Lock</em> button in the note actions section near the title bar (on the&nbsp;<a class=\"reference-link\" href=\"#root/_help_IjZS7iK5EXtb\">New Layout</a>, or in the&nbsp;<a class=\"reference-link\" href=\"#root/_help_XpOYSgsLkTJy\">Floating buttons</a>&nbsp;area if using the old layout). When editing is locked, the SQL statement is hidden from view.</p>",
+ "_help_YKWqdJhzi2VY": "<aside class=\"admonition important\"><p>Starting with v0.104.0, backend scripts are disabled by default to reduce the attack surface. See&nbsp;<a class=\"reference-link\" href=\"#root/_help_fiHicjpHjIRJ\">Security</a>&nbsp;for more information.</p></aside><p>The SQL Console is Trilium's built-in database editor.</p><p>It can be accessed by going to the&nbsp;<a class=\"reference-link\" href=\"#root/_help_x3i7MxGccDuM\">Global menu</a>&nbsp;→ Advanced → Open SQL Console.</p><p><img src=\"{{helpAssets}}/User%20Guide/Advanced%20Usage/Database/Manually%20altering%20the%20database/SQL%20Console_image.jpg\"></p><h3>Interaction</h3><ul><li>Hovering the mouse over one of the tables listed at the top of the document will show the columns and their data type.</li><li>Only one SQL statement can be run at once.</li><li>To run the statement, press the <em>Execute</em> icon.</li><li>For queries that return a result, the data will displayed in a table.</li><li>For statements (e.g. <code spellcheck=\"false\">INSERT</code>, <code spellcheck=\"false\">UPDATE</code>), the number of affected rows is displayed.</li></ul><figure class=\"image\"><img style=\"aspect-ratio:1124/571;\" src=\"{{helpAssets}}/User%20Guide/Advanced%20Usage/Database/Manually%20altering%20the%20database/1_SQL%20Console_image.png\" width=\"1124\" height=\"571\"></figure><h3>Interacting with the table</h3><p>After executing a query, a table with the results will be displayed:</p><ul><li>Clicking on a column allows sorting ascending or descending.</li><li>Underneath each column there is an input field which allows filtering by text.</li><li>Press <kbd>Ctrl</kbd>+<kbd>C</kbd> to copy the current cell to clipboard.</li><li>Multiple cells can be selected by dragging or by holding <kbd>Shift</kbd> + arrow keys</li><li>Results are paginated for performance reasons. The controls at the bottom of the table can be used to navigate through pages.</li></ul><h3>Saved SQL console</h3><p>SQL queries or commands can be saved into a dedicated note.</p><p>To do so, simply write the query and press the <img src=\"{{helpAssets}}/User%20Guide/Advanced%20Usage/Database/Manually%20altering%20the%20database/SQL%20Console_image.png\"> button. Once saved, the note will appear in&nbsp;<a class=\"reference-link\" href=\"#root/_help_l0tKav7yLHGF\">Day Notes</a>&nbsp;by default. It is possible to change the default location of saved queries by assigning a <code spellcheck=\"false\">#sqlConsoleHome</code> <a href=\"#root/_help_HI6GBBIduIgv\">label</a>.</p><p>The note can be locked for editing by pressing the <em>Lock</em> button in the note actions section near the title bar (on the&nbsp;<a class=\"reference-link\" href=\"#root/_help_IjZS7iK5EXtb\">New Layout</a>, or in the&nbsp;<a class=\"reference-link\" href=\"#root/_help_XpOYSgsLkTJy\">Floating buttons</a>&nbsp;area if using the old layout). When editing is locked, the SQL statement is hidden from view.</p>",
"_help_6tZeKvSHEUiB": "<p>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:</p><ul><li><a class=\"reference-link\" href=\"#root/_help_iRwzGnHPzonm\">Relation Map</a></li><li><a class=\"reference-link\" href=\"#root/_help_l0tKav7yLHGF\">Day Notes</a></li><li><a class=\"reference-link\" href=\"#root/_help_R7abl2fc6Mxi\">Weight Tracker</a></li><li><a class=\"reference-link\" href=\"#root/_help_xYjQUYhpbUEW\">Task Manager</a></li><li><a class=\"reference-link\" href=\"#root/_help_Wy267RK4M69c\">Themes</a></li></ul><h3>Restoring Demo Notes</h3><p>There are some cases in which you may want to restore the original demo notes. For example, if you experimented with some of the more advanced features and want to see the original reference, or if you simply want to explore the latest version of the demo notes, which might showcase new features.</p><p>You can easily restore the demo notes by using Trilium's built-in import feature by importing them:</p><ul><li>Download <a href=\"https://github.com/TriliumNext/Trilium/raw/refs/heads/main/apps/server/src/assets/db/demo.zip\">the .zip archive</a> with the latest version of the demo notes</li><li>Right click on any note in your tree under which you would like the demo notes to be imported</li><li>Click \"Import into note\"</li><li>Select the .zip archive to import it</li></ul>",
"_help_Gzjqa934BdH4": "<p>Trilium supports configuration via a file named <code spellcheck=\"false\">config.ini</code> and environment variables. This document provides a comprehensive reference for all configuration options.</p><h2>Location of the configuration file</h2><p>The configuration file is not located in the same directory as the application. Instead, the <code spellcheck=\"false\">config.ini</code> is located in the&nbsp;<a class=\"reference-link\" href=\"#root/_help_tAassRL4RSQL\">Data directory</a>. As such, the configuration file is only available after starting the application and creating a database.</p><h2>Configuration Precedence</h2><p>Configuration values are loaded in the following order of precedence (highest to lowest):</p><ol><li><strong>Environment variables</strong> (checked first)</li><li><strong>config.ini file values</strong></li><li><strong>Default values</strong></li></ol><h2>Environment Variable Patterns</h2><p>Trilium supports multiple environment variable patterns for flexibility. The primary pattern is: <code spellcheck=\"false\">TRILIUM_[SECTION]_[KEY]</code></p><p>Where:</p><ul><li><code spellcheck=\"false\">SECTION</code> is the INI section name in UPPERCASE</li><li><code spellcheck=\"false\">KEY</code> is the camelCase configuration key converted to UPPERCASE (e.g., <code spellcheck=\"false\">instanceName</code> → <code spellcheck=\"false\">INSTANCENAME</code>)</li></ul><p>Additionally, shorter aliases are available for common configurations (see Alternative Variables section below).</p><h2>Environment Variable Reference</h2><h3>General Section</h3><figure class=\"table\"><table>\n<thead>\n<tr>\n<th>Environment Variable</th>\n<th>Type</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><code spellcheck=\"false\">TRILIUM_GENERAL_INSTANCENAME</code></td>\n<td>string</td>\n<td>\"\"</td>\n<td>Instance name for API identification</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">TRILIUM_GENERAL_NOAUTHENTICATION</code></td>\n<td>boolean</td>\n<td>false</td>\n<td>Disable authentication (server only)</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">TRILIUM_GENERAL_NOBACKUP</code></td>\n<td>boolean</td>\n<td>false</td>\n<td>Disable automatic backups</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">TRILIUM_GENERAL_NODESKTOPICON</code></td>\n<td>boolean</td>\n<td>false</td>\n<td>Disable desktop icon creation</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">TRILIUM_GENERAL_READONLY</code></td>\n<td>boolean</td>\n<td>false</td>\n<td>Enable read-only mode</td>\n</tr>\n</tbody></table></figure><h3>Network Section</h3><figure class=\"table\"><table>\n<thead>\n<tr>\n<th>Environment Variable</th>\n<th>Type</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><code spellcheck=\"false\">TRILIUM_NETWORK_HOST</code></td>\n<td>string</td>\n<td>\"0.0.0.0\"</td>\n<td>Server host binding</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">TRILIUM_NETWORK_PORT</code></td>\n<td>string</td>\n<td>\"8080\"</td>\n<td>Server port</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">TRILIUM_NETWORK_HTTPS</code></td>\n<td>boolean</td>\n<td>false</td>\n<td>Enable HTTPS</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">TRILIUM_NETWORK_CERTPATH</code></td>\n<td>string</td>\n<td>\"\"</td>\n<td>SSL certificate path</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">TRILIUM_NETWORK_KEYPATH</code></td>\n<td>string</td>\n<td>\"\"</td>\n<td>SSL key path</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">TRILIUM_NETWORK_TRUSTEDREVERSEPROXY</code></td>\n<td>boolean/string</td>\n<td>false</td>\n<td>Reverse proxy trust settings</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">TRILIUM_NETWORK_CORSALLOWORIGIN</code></td>\n<td>string</td>\n<td>\"\"</td>\n<td>CORS allowed origins</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">TRILIUM_NETWORK_CORSALLOWMETHODS</code></td>\n<td>string</td>\n<td>\"\"</td>\n<td>CORS allowed methods</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">TRILIUM_NETWORK_CORSALLOWHEADERS</code></td>\n<td>string</td>\n<td>\"\"</td>\n<td>CORS allowed headers</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">TRILIUM_NETWORK_CORSRESOURCEPOLICY</code></td>\n<td>string</td>\n<td>same-origin</td>\n<td>CORS Resource Policy allows same-origin/same-site/cross-origin as values, will error if not</td>\n</tr>\n</tbody></table></figure><h3>Session Section</h3><figure class=\"table\"><table>\n<thead>\n<tr>\n<th>Environment Variable</th>\n<th>Type</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><code spellcheck=\"false\">TRILIUM_SESSION_COOKIEMAXAGE</code></td>\n<td>integer</td>\n<td>1814400</td>\n<td>Session cookie max age in seconds (21 days)</td>\n</tr>\n</tbody></table></figure><h3>Sync Section</h3><figure class=\"table\"><table>\n<thead>\n<tr>\n<th>Environment Variable</th>\n<th>Type</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><code spellcheck=\"false\">TRILIUM_SYNC_SYNCSERVERHOST</code></td>\n<td>string</td>\n<td>\"\"</td>\n<td>Sync server host URL</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">TRILIUM_SYNC_SYNCSERVERTIMEOUT</code></td>\n<td>string</td>\n<td>\"120000\"</td>\n<td>Sync server timeout in milliseconds</td>\n</tr>\n<tr>\n<td><code spellcheck=\"false\">TRILIUM_SYNC_SYNCPROXY</code></td>\n<td>string</td>\n<td>\"\"</td>\n<td>Sync proxy URL</td>\n</tr>\n</tbody></table></figure><h3>MultiFactorAuthentication Section</h3><p>See&nbsp;<a class=\"reference-link\" href=\"#root/_help_x1lQNKQBqLcA\">Signing in with OpenID Connect</a>.</p><h3>Logging Section</h3><figure class=\"table\"><table>\n<thead>\n<tr>\n<th>Environment Variable</th>\n<th>Type</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><code spellcheck=\"false\">TRILIUM_LOGGING_RETENTIONDAYS</code></td>\n<td>integer</td>\n<td>90</td>\n<td>Number of days to retain log files</td>\n</tr>\n</tbody></table></figure><h3>Development Section</h3><figure class=\"table\"><table>\n<thead>\n<tr>\n<th>Environment Variable</th>\n<th>Type</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><code spellcheck=\"false\">TRILIUM_MANUAL_DB_MIGRATION</code></td>\n<td>boolean</td>\n<td>false</td>\n<td>If <code spellcheck=\"false\">true</code>, the application will not start if automatic database migrations are pending and would modify the database schema.</td>\n</tr>\n</tbody></table></figure><h2>Alternative Environment Variables</h2><p>The following alternative environment variable names are also supported and work identically to their longer counterparts:</p><h3>Network CORS Variables</h3><ul><li><code spellcheck=\"false\">TRILIUM_NETWORK_CORS_ALLOW_ORIGIN</code> (alternative to <code spellcheck=\"false\">TRILIUM_NETWORK_CORSALLOWORIGIN</code>)</li><li><code spellcheck=\"false\">TRILIUM_NETWORK_CORS_ALLOW_METHODS</code> (alternative to <code spellcheck=\"false\">TRILIUM_NETWORK_CORSALLOWMETHODS</code>)</li><li><code spellcheck=\"false\">TRILIUM_NETWORK_CORS_ALLOW_HEADERS</code> (alternative to <code spellcheck=\"false\">TRILIUM_NETWORK_CORSALLOWHEADERS</code>)</li><li><code spellcheck=\"false\">TRILIUM_NETWORK_CORS_RESOURCE_POLICY</code> (alternative to <code spellcheck=\"false\">TRILIUM_NETWORK_CORSRESOURCEPOLICY</code>)</li></ul><h3>Sync Variables</h3><ul><li><code spellcheck=\"false\">TRILIUM_SYNC_SERVER_HOST</code> (alternative to <code spellcheck=\"false\">TRILIUM_SYNC_SYNCSERVERHOST</code>)</li><li><code spellcheck=\"false\">TRILIUM_SYNC_SERVER_TIMEOUT</code> (alternative to <code spellcheck=\"false\">TRILIUM_SYNC_SYNCSERVERTIMEOUT</code>)</li><li><code spellcheck=\"false\">TRILIUM_SYNC_SERVER_PROXY</code> (alternative to <code spellcheck=\"false\">TRILIUM_SYNC_SYNCPROXY</code>)</li></ul><h3>OAuth/MFA Variables</h3><ul><li><code spellcheck=\"false\">TRILIUM_OAUTH_BASE_URL</code> (alternative to <code spellcheck=\"false\">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHBASEURL</code>)</li><li><code spellcheck=\"false\">TRILIUM_OAUTH_CLIENT_ID</code> (alternative to <code spellcheck=\"false\">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHCLIENTID</code>)</li><li><code spellcheck=\"false\">TRILIUM_OAUTH_CLIENT_SECRET</code> (alternative to <code spellcheck=\"false\">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHCLIENTSECRET</code>)</li><li><code spellcheck=\"false\">TRILIUM_OAUTH_ISSUER_BASE_URL</code> (alternative to <code spellcheck=\"false\">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERBASEURL</code>)</li><li><code spellcheck=\"false\">TRILIUM_OAUTH_ISSUER_NAME</code> (alternative to <code spellcheck=\"false\">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERNAME</code>)</li><li><code spellcheck=\"false\">TRILIUM_OAUTH_ISSUER_ICON</code> (alternative to <code spellcheck=\"false\">TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHISSUERICON</code>)</li></ul><h3>Logging Variables</h3><ul><li><code spellcheck=\"false\">TRILIUM_LOGGING_RETENTION_DAYS</code> (alternative to <code spellcheck=\"false\">TRILIUM_LOGGING_RETENTIONDAYS</code>)</li></ul><h2>Boolean Values</h2><p>Boolean environment variables accept the following values:</p><ul><li><strong>True</strong>: <code spellcheck=\"false\">\"true\"</code>, <code spellcheck=\"false\">\"1\"</code>, <code spellcheck=\"false\">1</code></li><li><strong>False</strong>: <code spellcheck=\"false\">\"false\"</code>, <code spellcheck=\"false\">\"0\"</code>, <code spellcheck=\"false\">0</code></li><li>Any other value defaults to <code spellcheck=\"false\">false</code></li></ul><h2>Using Environment Variables</h2><p>Both naming patterns are fully supported and can be used interchangeably:</p><ul><li>The longer format follows the section/key pattern for consistency with the INI file structure</li><li>The shorter alternatives provide convenience for common configurations</li><li>You can use whichever format you prefer - both are equally valid</li></ul><h2>Examples</h2><h3>Docker Compose Example</h3><pre><code class=\"language-text-x-yaml\">services:\n trilium:\n image: triliumnext/trilium\n environment:\n # Using full format\n TRILIUM_GENERAL_INSTANCENAME: \"My Trilium Instance\"\n TRILIUM_NETWORK_PORT: \"8080\"\n TRILIUM_NETWORK_CORSALLOWORIGIN: \"https://myapp.com\"\n TRILIUM_SYNC_SYNCSERVERHOST: \"https://sync.example.com\"\n TRILIUM_MULTIFACTORAUTHENTICATION_OAUTHBASEURL: \"https://auth.example.com\"\n \n # Or using shorter alternatives (equally valid)\n # TRILIUM_NETWORK_CORS_ALLOW_ORIGIN: \"https://myapp.com\"\n # TRILIUM_SYNC_SERVER_HOST: \"https://sync.example.com\"\n # TRILIUM_OAUTH_BASE_URL: \"https://auth.example.com\"</code></pre><h3>Shell Export Example</h3><pre><code class=\"language-text-x-trilium-auto\"># Using either format\nexport TRILIUM_GENERAL_NOAUTHENTICATION=false\nexport TRILIUM_NETWORK_HTTPS=true\nexport TRILIUM_NETWORK_CERTPATH=/path/to/cert.pem\nexport TRILIUM_NETWORK_KEYPATH=/path/to/key.pem\nexport TRILIUM_LOGGING_RETENTIONDAYS=30\n\n# Start Trilium\nnpm start</code></pre><h2>config.ini Reference</h2><p>For the complete list of configuration options and their INI file format, please review the <a href=\"https://github.com/TriliumNext/Trilium/blob/main/apps/server/src/assets/config-sample.ini\">config-sample.ini</a> file in the Trilium repository</p>",
"_help_c5xB8m4g2IY6": "<p>A Trilium instance represents a server. If&nbsp;<a class=\"reference-link\" href=\"#root/_help_cbkrhQjrkKrh\">Synchronization</a>&nbsp;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.</p><h2>Setting the instance name</h2><p>To set up a name for the instance, modify the <code spellcheck=\"false\">config.ini</code>:</p><pre><code class=\"language-text-x-trilium-auto\">[General]\ninstanceName=Hello</code></pre><h2>Distinguishing the instance on back-end</h2><p>Use <code spellcheck=\"false\">api.getInstanceName()</code> to obtain the instance name of the current server, as specified in the config file or in environment variables.</p><h2>Limiting script runs based on instance</h2><p>For a script that is run periodically or on a certain event, it's possible to limit it to certain instances without having to change the code. Just add <code spellcheck=\"false\">runOnInstance</code> and set as the value the instance name where the script should run. To run on multiple named instances, simply add the label multiple times.</p>",
diff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.json
index 253a5c6e5c..0b38f030f9 100644
--- a/docs/User Guide/!!!meta.json
+++ b/docs/User Guide/!!!meta.json
@@ -2474,7 +2474,7 @@
"role": "image",
"mime": "image/jpg",
"position": 10,
- "dataFileName": "2_Vertical and horizontal layout_image.jpg"
+ "dataFileName": "Vertical and horizontal layout_image.jpg"
},
{
"attachmentId": "JwO3rUNb9tyU",
@@ -2482,7 +2482,7 @@
"role": "image",
"mime": "image/jpg",
"position": 10,
- "dataFileName": "3_Vertical and horizontal layout_image.jpg"
+ "dataFileName": "1_Vertical and horizontal layout_image.jpg"
},
{
"attachmentId": "NVjM5z6IsNZf",
@@ -2490,7 +2490,7 @@
"role": "image",
"mime": "image/png",
"position": 10,
- "dataFileName": "4_Vertical and horizontal layout_image.png"
+ "dataFileName": "2_Vertical and horizontal layout_image.png"
},
{
"attachmentId": "Z2F8ipVjwugg",
@@ -2498,7 +2498,7 @@
"role": "image",
"mime": "image/png",
"position": 10,
- "dataFileName": "5_Vertical and horizontal layout_image.png"
+ "dataFileName": "3_Vertical and horizontal layout_image.png"
}
]
},
@@ -2891,7 +2891,7 @@
"role": "image",
"mime": "image/jpg",
"position": 10,
- "dataFileName": "1_Multiple selection_image.jpg"
+ "dataFileName": "Multiple selection_image.jpg"
},
{
"attachmentId": "xZnYDX7rv0rW",
@@ -2899,7 +2899,7 @@
"role": "image",
"mime": "image/png",
"position": 10,
- "dataFileName": "2_Multiple selection_image.png"
+ "dataFileName": "1_Multiple selection_image.png"
}
]
},
@@ -10016,7 +10016,7 @@
"role": "image",
"mime": "image/png",
"position": 10,
- "dataFileName": "1_Developer-specific formatting_image.png"
+ "dataFileName": "Developer-specific formatting_image.png"
},
{
"attachmentId": "r8POqVPCOgmq",
@@ -10024,7 +10024,7 @@
"role": "image",
"mime": "image/png",
"position": 10,
- "dataFileName": "2_Developer-specific formatting_image.png"
+ "dataFileName": "1_Developer-specific formatting_image.png"
},
{
"attachmentId": "UkvE6wdUVadb",
@@ -10032,7 +10032,7 @@
"role": "image",
"mime": "image/png",
"position": 10,
- "dataFileName": "3_Developer-specific formatting_image.png"
+ "dataFileName": "2_Developer-specific formatting_image.png"
},
{
"attachmentId": "V9BY5v8WX15Q",
@@ -10040,7 +10040,7 @@
"role": "image",
"mime": "image/jpg",
"position": 10,
- "dataFileName": "4_Developer-specific formatting_image.jpg"
+ "dataFileName": "1_Developer-specific formatting_image.jpg"
},
{
"attachmentId": "VYcvGUzbobxQ",
@@ -10048,7 +10048,7 @@
"role": "image",
"mime": "image/png",
"position": 10,
- "dataFileName": "5_Developer-specific formatting_image.png"
+ "dataFileName": "3_Developer-specific formatting_image.png"
},
{
"attachmentId": "yKVC2F773Mg7",
@@ -10056,7 +10056,7 @@
"role": "image",
"mime": "image/png",
"position": 10,
- "dataFileName": "6_Developer-specific formatting_image.png"
+ "dataFileName": "4_Developer-specific formatting_image.png"
}
],
"dirFileName": "Developer-specific formatting",
@@ -10145,7 +10145,7 @@
"role": "image",
"mime": "image/jpg",
"position": 10,
- "dataFileName": "1_Code blocks_image.jpg"
+ "dataFileName": "Code blocks_image.jpg"
},
{
"attachmentId": "kE8PPw7iyuu9",
@@ -10153,7 +10153,7 @@
"role": "image",
"mime": "image/png",
"position": 10,
- "dataFileName": "2_Code blocks_image.png"
+ "dataFileName": "1_Code blocks_image.png"
}
]
}
@@ -10602,7 +10602,7 @@
"role": "image",
"mime": "image/jpg",
"position": 10,
- "dataFileName": "1_Images_image.jpg"
+ "dataFileName": "Images_image.jpg"
},
{
"attachmentId": "Bi9LiB0eMbcH",
@@ -10610,7 +10610,7 @@
"role": "image",
"mime": "image/jpg",
"position": 10,
- "dataFileName": "2_Images_image.jpg"
+ "dataFileName": "1_Images_image.jpg"
},
{
"attachmentId": "dRgFtpOcHwke",
@@ -10618,7 +10618,7 @@
"role": "image",
"mime": "image/jpg",
"position": 10,
- "dataFileName": "3_Images_image.jpg"
+ "dataFileName": "2_Images_image.jpg"
},
{
"attachmentId": "g7xB3E2Dva2q",
@@ -10626,7 +10626,7 @@
"role": "image",
"mime": "image/png",
"position": 10,
- "dataFileName": "4_Images_image.png"
+ "dataFileName": "1_Images_image.png"
},
{
"attachmentId": "Ilz9SuEj39RF",
@@ -10634,7 +10634,7 @@
"role": "image",
"mime": "image/png",
"position": 10,
- "dataFileName": "5_Images_image.png"
+ "dataFileName": "2_Images_image.png"
},
{
"attachmentId": "NZJRGKS6yDeg",
@@ -10642,7 +10642,7 @@
"role": "image",
"mime": "image/jpg",
"position": 10,
- "dataFileName": "6_Images_image.jpg"
+ "dataFileName": "3_Images_image.jpg"
},
{
"attachmentId": "qJXx7vPPD4JW",
@@ -10650,7 +10650,7 @@
"role": "image",
"mime": "image/png",
"position": 10,
- "dataFileName": "7_Images_image.png"
+ "dataFileName": "3_Images_image.png"
},
{
"attachmentId": "SoDKgOmDoyc1",
@@ -10658,7 +10658,7 @@
"role": "image",
"mime": "image/png",
"position": 10,
- "dataFileName": "8_Images_image.png"
+ "dataFileName": "4_Images_image.png"
}
],
"dirFileName": "Images",
@@ -11555,7 +11555,7 @@
"role": "image",
"mime": "image/jpg",
"position": 10,
- "dataFileName": "3_Lists_image.jpg"
+ "dataFileName": "Lists_image.jpg"
},
{
"attachmentId": "IZewdPx4evIx",
@@ -11563,7 +11563,7 @@
"role": "image",
"mime": "image/png",
"position": 10,
- "dataFileName": "4_Lists_image.png"
+ "dataFileName": "3_Lists_image.png"
},
{
"attachmentId": "JopMc0iA0dqA",
@@ -11571,7 +11571,7 @@
"role": "image",
"mime": "image/jpg",
"position": 10,
- "dataFileName": "5_Lists_image.jpg"
+ "dataFileName": "1_Lists_image.jpg"
},
{
"attachmentId": "kZMYrJubac6T",
@@ -11579,7 +11579,7 @@
"role": "image",
"mime": "image/jpg",
"position": 10,
- "dataFileName": "6_Lists_image.jpg"
+ "dataFileName": "2_Lists_image.jpg"
},
{
"attachmentId": "PGeVq8YAQBFA",
@@ -11587,7 +11587,7 @@
"role": "image",
"mime": "image/png",
"position": 10,
- "dataFileName": "7_Lists_image.png"
+ "dataFileName": "4_Lists_image.png"
},
{
"attachmentId": "VgoG6BtlLYn7",
@@ -11595,7 +11595,7 @@
"role": "image",
"mime": "image/jpg",
"position": 10,
- "dataFileName": "8_Lists_image.jpg"
+ "dataFileName": "3_Lists_image.jpg"
},
{
"attachmentId": "y0zFP6x0IRRf",
@@ -11603,7 +11603,7 @@
"role": "image",
"mime": "image/jpg",
"position": 10,
- "dataFileName": "9_Lists_image.jpg"
+ "dataFileName": "4_Lists_image.jpg"
},
{
"attachmentId": "z8eVlXe2WKqr",
@@ -11611,7 +11611,7 @@
"role": "image",
"mime": "image/jpg",
"position": 10,
- "dataFileName": "10_Lists_image.jpg"
+ "dataFileName": "5_Lists_image.jpg"
}
]
},
@@ -17558,7 +17558,7 @@
"role": "image",
"mime": "image/png",
"position": 10,
- "dataFileName": "1_Serving directly the content of a note_image.png"
+ "dataFileName": "Serving directly the content of a note_image.png"
}
]
},
@@ -17878,7 +17878,7 @@
"role": "image",
"mime": "image/jpg",
"position": 10,
- "dataFileName": "1_Day Notes_image.jpg"
+ "dataFileName": "Day Notes_image.jpg"
}
]
},
@@ -18581,7 +18581,7 @@
"role": "image",
"mime": "image/png",
"position": 10,
- "dataFileName": "1_SQL Console_image.png"
+ "dataFileName": "SQL Console_image.png"
},
{
"attachmentId": "wdBs3e0MApgs",
@@ -18589,7 +18589,7 @@
"role": "image",
"mime": "image/png",
"position": 10,
- "dataFileName": "2_SQL Console_image.png"
+ "dataFileName": "1_SQL Console_image.png"
}
]
}
diff --git a/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes.md b/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes.md
index c2f2a714e1..a7209a73a0 100644
--- a/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes.md
+++ b/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes.md
@@ -5,7 +5,7 @@ For this, Trilium provides a concept of "day note". Trilium semi-automatically g
Select an existing day note, and the menubar contains a calendar widget. Select any day to create a note for that day. 
-![](1_Day%20Notes_image.jpg)
+![](Day%20Notes_image.jpg)
This pattern works well also because of [Cloning Notes](../../Basic%20Concepts%20and%20Features/Notes/Cloning%20Notes.md) 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.
diff --git a/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/1_Day Notes_image.jpg b/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes_image.jpg
similarity index 100%
rename from docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/1_Day Notes_image.jpg
rename to docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes_image.jpg
diff --git a/docs/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/1_SQL Console_image.png b/docs/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/1_SQL Console_image.png
index 1b1834ba1f..a395a969b4 100644
Binary files a/docs/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/1_SQL Console_image.png and b/docs/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/1_SQL Console_image.png differ
diff --git a/docs/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/2_SQL Console_image.png b/docs/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/2_SQL Console_image.png
deleted file mode 100644
index a395a969b4..0000000000
Binary files a/docs/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/2_SQL Console_image.png and /dev/null differ
diff --git a/docs/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/SQL Console.md b/docs/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/SQL Console.md
index 14c7812136..d28c0c0038 100644
--- a/docs/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/SQL Console.md
+++ b/docs/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/SQL Console.md
@@ -16,7 +16,7 @@ It can be accessed by going to the <a class="reference-link" href="../../../Bas
* For queries that return a result, the data will displayed in a table.
* For statements (e.g. `INSERT`, `UPDATE`), the number of affected rows is displayed.
-<figure class="image"><img style="aspect-ratio:1124/571;" src="2_SQL Console_image.png" width="1124" height="571"></figure>
+<figure class="image"><img style="aspect-ratio:1124/571;" src="1_SQL Console_image.png" width="1124" height="571"></figure>
### Interacting with the table
@@ -32,6 +32,6 @@ After executing a query, a table with the results will be displayed:
SQL queries or commands can be saved into a dedicated note.
-To do so, simply write the query and press the ![](1_SQL%20Console_image.png) button. Once saved, the note will appear in <a class="reference-link" href="../../Advanced%20Showcases/Day%20Notes.md">Day Notes</a> by default. It is possible to change the default location of saved queries by assigning a `#sqlConsoleHome` [label](../../Attributes/Labels.md).
+To do so, simply write the query and press the ![](SQL%20Console_image.png) button. Once saved, the note will appear in <a class="reference-link" href="../../Advanced%20Showcases/Day%20Notes.md">Day Notes</a> by default. It is possible to change the default location of saved queries by assigning a `#sqlConsoleHome` [label](../../Attributes/Labels.md).
The note can be locked for editing by pressing the _Lock_ button in the note actions section near the title bar (on the <a class="reference-link" href="../../../Basic%20Concepts%20and%20Features/UI%20Elements/New%20Layout.md">New Layout</a>, or in the <a class="reference-link" href="../../../Basic%20Concepts%20and%20Features/UI%20Elements/Floating%20buttons.md">Floating buttons</a> area if using the old layout). When editing is locked, the SQL statement is hidden from view.
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/SQL Console_image.png b/docs/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/SQL Console_image.png
new file mode 100644
index 0000000000..1b1834ba1f
Binary files /dev/null and b/docs/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/SQL Console_image.png differ
diff --git a/docs/User Guide/User Guide/Advanced Usage/Sharing/Serving directly the content of a note.md b/docs/User Guide/User Guide/Advanced Usage/Sharing/Serving directly the content of a note.md
index 98594d0890..71c4375ded 100644
--- a/docs/User Guide/User Guide/Advanced Usage/Sharing/Serving directly the content of a note.md
+++ b/docs/User Guide/User Guide/Advanced Usage/Sharing/Serving directly the content of a note.md
@@ -3,7 +3,7 @@ When accessing a shared note, Trilium will render it as a web page. Sometimes it
| A note displayed as a web page (HTML) | A note displayed as a raw format |
| --- | --- |
-| <figure class="image"><img style="aspect-ratio:738/275;" src="1_Serving directly the content of a note_image.png" width="738" height="275"></figure> | ![](Serving%20directly%20the%20content%20of%20a%20note_image.jpg) |
+| <figure class="image"><img style="aspect-ratio:738/275;" src="Serving directly the content of a note_image.png" width="738" height="275"></figure> | ![](Serving%20directly%20the%20content%20of%20a%20note_image.jpg) |
## By adding an attribute to the note
diff --git a/docs/User Guide/User Guide/Advanced Usage/Sharing/1_Serving directly the content of a note_image.png b/docs/User Guide/User Guide/Advanced Usage/Sharing/Serving directly the content of a note_image.png
similarity index 100%
rename from docs/User Guide/User Guide/Advanced Usage/Sharing/1_Serving directly the content of a note_image.png
rename to docs/User Guide/User Guide/Advanced Usage/Sharing/Serving directly the content of a note_image.png
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/3_Vertical and horizontal layout_image.jpg b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/1_Vertical and horizontal layout_image.jpg
similarity index 100%
rename from docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/3_Vertical and horizontal layout_image.jpg
rename to docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/1_Vertical and horizontal layout_image.jpg
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/4_Vertical and horizontal layout_image.png b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/2_Vertical and horizontal layout_image.png
similarity index 100%
rename from docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/4_Vertical and horizontal layout_image.png
rename to docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/2_Vertical and horizontal layout_image.png
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/5_Vertical and horizontal layout_image.png b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/3_Vertical and horizontal layout_image.png
similarity index 100%
rename from docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/5_Vertical and horizontal layout_image.png
rename to docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/3_Vertical and horizontal layout_image.png
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/2_Multiple selection_image.png b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/1_Multiple selection_image.png
similarity index 100%
rename from docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/2_Multiple selection_image.png
rename to docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/1_Multiple selection_image.png
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Multiple selection.md b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Multiple selection.md
index c59ef73ca5..10550d3f37 100644
--- a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Multiple selection.md
+++ b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Multiple selection.md
@@ -13,7 +13,7 @@ The selected notes will be indicated via a different background color and an ico
### Selecting notes in a sequence
-<figure class="image image-style-align-right image_resized" style="width:29.24%;"><img style="aspect-ratio:233/205;" src="1_Multiple selection_image.jpg" width="233" height="205"></figure>
+<figure class="image image-style-align-right image_resized" style="width:29.24%;"><img style="aspect-ratio:233/205;" src="Multiple selection_image.jpg" width="233" height="205"></figure>
When notes are in a sequence (e.g. one underneath the other), the entire selection can be made just by selecting the first and the last item instead of individually clicking all the notes.
@@ -28,4 +28,4 @@ There is a distinction between _selected notes_ and the _active note_:
* Visually, it's identified in the tree by having a different background color and a subtle shadow.
* The active note can also be selected case in which the icon and background will also change:
- <img class="image_resized" style="aspect-ratio:317/223;width:35.1%;" src="2_Multiple selection_image.png" width="317" height="223">
\ No newline at end of file
+ <img class="image_resized" style="aspect-ratio:317/223;width:35.1%;" src="1_Multiple selection_image.png" width="317" height="223">
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/1_Multiple selection_image.jpg b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Multiple selection_image.jpg
similarity index 100%
rename from docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/1_Multiple selection_image.jpg
rename to docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Multiple selection_image.jpg
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout.md b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout.md
index b8cc3da0ba..65cb55ae9e 100644
--- a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout.md
+++ b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout.md
@@ -10,10 +10,10 @@ The vertical layout is Trilium's original layout:
* The <a class="reference-link" href="Launch%20Bar.md">Launch Bar</a> is positioned on the left side of the screen, with buttons being laid out vertically.
* The tab bar is at the top, but to the right of the <a class="reference-link" href="Note%20Tree.md">Note Tree</a>.
* The <a class="reference-link" href="../Navigation/Quick%20search.md">Quick search</a> is at the top of the <a class="reference-link" href="Note%20Tree.md">Note Tree</a>.
-* The <a class="reference-link" href="Note%20Tree.md">Note Tree</a> can be collapsed by pressing the ![](5_Vertical%20and%20horizontal%20layout_image.png) button at the bottom of the <a class="reference-link" href="Launch%20Bar.md">Launch Bar</a>.
-* The <a class="reference-link" href="Global%20menu.md">Global menu</a> can be accessed via the ![](4_Vertical%20and%20horizontal%20layout_image.png) icon at the top of the <a class="reference-link" href="Launch%20Bar.md">Launch Bar</a>.
+* The <a class="reference-link" href="Note%20Tree.md">Note Tree</a> can be collapsed by pressing the ![](3_Vertical%20and%20horizontal%20layout_image.png) button at the bottom of the <a class="reference-link" href="Launch%20Bar.md">Launch Bar</a>.
+* The <a class="reference-link" href="Global%20menu.md">Global menu</a> can be accessed via the ![](2_Vertical%20and%20horizontal%20layout_image.png) icon at the top of the <a class="reference-link" href="Launch%20Bar.md">Launch Bar</a>.
-![](3_Vertical%20and%20horizontal%20layout_image.jpg)
+![](1_Vertical%20and%20horizontal%20layout_image.jpg)
### Horizontal layout
@@ -25,7 +25,7 @@ The horizontal layout is a more traditional layout, since it bears similarity wi
* The <a class="reference-link" href="Note%20Tree.md">Note Tree</a> can be collapsed by pressing the small ![](1_Vertical%20and%20horizontal%20layout_image.png) button to the left of the first tab.
* The <a class="reference-link" href="Global%20menu.md">Global menu</a> can be accessed via the ![](Vertical%20and%20horizontal%20layout_image.png) button at the end of the <a class="reference-link" href="Launch%20Bar.md">Launch Bar</a>.
-![](2_Vertical%20and%20horizontal%20layout_image.jpg)
+![](Vertical%20and%20horizontal%20layout_image.jpg)
## Changing the layout
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/2_Vertical and horizontal layout_image.jpg b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout_image.jpg
similarity index 100%
rename from docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/2_Vertical and horizontal layout_image.jpg
rename to docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout_image.jpg
diff --git a/docs/User Guide/User Guide/Note Types/Text/10_Lists_image.jpg b/docs/User Guide/User Guide/Note Types/Text/10_Lists_image.jpg
deleted file mode 100644
index fba0cc85c9..0000000000
Binary files a/docs/User Guide/User Guide/Note Types/Text/10_Lists_image.jpg and /dev/null differ
diff --git a/docs/User Guide/User Guide/Note Types/Text/4_Developer-specific formatting_image.jpg b/docs/User Guide/User Guide/Note Types/Text/1_Developer-specific formatting_image.jpg
similarity index 100%
rename from docs/User Guide/User Guide/Note Types/Text/4_Developer-specific formatting_image.jpg
rename to docs/User Guide/User Guide/Note Types/Text/1_Developer-specific formatting_image.jpg
diff --git a/docs/User Guide/User Guide/Note Types/Text/1_Developer-specific formatting_image.png b/docs/User Guide/User Guide/Note Types/Text/1_Developer-specific formatting_image.png
index 9580128a2f..295d3c8099 100644
Binary files a/docs/User Guide/User Guide/Note Types/Text/1_Developer-specific formatting_image.png and b/docs/User Guide/User Guide/Note Types/Text/1_Developer-specific formatting_image.png differ
diff --git a/docs/User Guide/User Guide/Note Types/Text/1_Images_image.jpg b/docs/User Guide/User Guide/Note Types/Text/1_Images_image.jpg
index a4e23ef9a8..08a40b0d05 100644
Binary files a/docs/User Guide/User Guide/Note Types/Text/1_Images_image.jpg and b/docs/User Guide/User Guide/Note Types/Text/1_Images_image.jpg differ
diff --git a/docs/User Guide/User Guide/Note Types/Text/1_Images_image.png b/docs/User Guide/User Guide/Note Types/Text/1_Images_image.png
new file mode 100644
index 0000000000..9f8ecc326c
Binary files /dev/null and b/docs/User Guide/User Guide/Note Types/Text/1_Images_image.png differ
diff --git a/docs/User Guide/User Guide/Note Types/Text/1_Lists_image.jpg b/docs/User Guide/User Guide/Note Types/Text/1_Lists_image.jpg
new file mode 100644
index 0000000000..ed6f4c37ca
Binary files /dev/null and b/docs/User Guide/User Guide/Note Types/Text/1_Lists_image.jpg differ
diff --git a/docs/User Guide/User Guide/Note Types/Text/2_Developer-specific formatting_image.png b/docs/User Guide/User Guide/Note Types/Text/2_Developer-specific formatting_image.png
index 295d3c8099..67c4c43fee 100644
Binary files a/docs/User Guide/User Guide/Note Types/Text/2_Developer-specific formatting_image.png and b/docs/User Guide/User Guide/Note Types/Text/2_Developer-specific formatting_image.png differ
diff --git a/docs/User Guide/User Guide/Note Types/Text/2_Images_image.jpg b/docs/User Guide/User Guide/Note Types/Text/2_Images_image.jpg
index 08a40b0d05..297d49ee5b 100644
Binary files a/docs/User Guide/User Guide/Note Types/Text/2_Images_image.jpg and b/docs/User Guide/User Guide/Note Types/Text/2_Images_image.jpg differ
diff --git a/docs/User Guide/User Guide/Note Types/Text/5_Images_image.png b/docs/User Guide/User Guide/Note Types/Text/2_Images_image.png
similarity index 100%
rename from docs/User Guide/User Guide/Note Types/Text/5_Images_image.png
rename to docs/User Guide/User Guide/Note Types/Text/2_Images_image.png
diff --git a/docs/User Guide/User Guide/Note Types/Text/6_Lists_image.jpg b/docs/User Guide/User Guide/Note Types/Text/2_Lists_image.jpg
similarity index 100%
rename from docs/User Guide/User Guide/Note Types/Text/6_Lists_image.jpg
rename to docs/User Guide/User Guide/Note Types/Text/2_Lists_image.jpg
diff --git a/docs/User Guide/User Guide/Note Types/Text/3_Developer-specific formatting_image.png b/docs/User Guide/User Guide/Note Types/Text/3_Developer-specific formatting_image.png
index 67c4c43fee..c0cf731a5f 100644
Binary files a/docs/User Guide/User Guide/Note Types/Text/3_Developer-specific formatting_image.png and b/docs/User Guide/User Guide/Note Types/Text/3_Developer-specific formatting_image.png differ
diff --git a/docs/User Guide/User Guide/Note Types/Text/3_Images_image.jpg b/docs/User Guide/User Guide/Note Types/Text/3_Images_image.jpg
index 297d49ee5b..731df83bb9 100644
Binary files a/docs/User Guide/User Guide/Note Types/Text/3_Images_image.jpg and b/docs/User Guide/User Guide/Note Types/Text/3_Images_image.jpg differ
diff --git a/docs/User Guide/User Guide/Note Types/Text/7_Images_image.png b/docs/User Guide/User Guide/Note Types/Text/3_Images_image.png
similarity index 100%
rename from docs/User Guide/User Guide/Note Types/Text/7_Images_image.png
rename to docs/User Guide/User Guide/Note Types/Text/3_Images_image.png
diff --git a/docs/User Guide/User Guide/Note Types/Text/3_Lists_image.jpg b/docs/User Guide/User Guide/Note Types/Text/3_Lists_image.jpg
index 32992762ae..30a9511b08 100644
Binary files a/docs/User Guide/User Guide/Note Types/Text/3_Lists_image.jpg and b/docs/User Guide/User Guide/Note Types/Text/3_Lists_image.jpg differ
diff --git a/docs/User Guide/User Guide/Note Types/Text/3_Lists_image.png b/docs/User Guide/User Guide/Note Types/Text/3_Lists_image.png
new file mode 100644
index 0000000000..3caf2d880c
Binary files /dev/null and b/docs/User Guide/User Guide/Note Types/Text/3_Lists_image.png differ
diff --git a/docs/User Guide/User Guide/Note Types/Text/6_Developer-specific formatting_image.png b/docs/User Guide/User Guide/Note Types/Text/4_Developer-specific formatting_image.png
similarity index 100%
rename from docs/User Guide/User Guide/Note Types/Text/6_Developer-specific formatting_image.png
rename to docs/User Guide/User Guide/Note Types/Text/4_Developer-specific formatting_image.png
diff --git a/docs/User Guide/User Guide/Note Types/Text/4_Images_image.png b/docs/User Guide/User Guide/Note Types/Text/4_Images_image.png
index 9f8ecc326c..32f99c37cf 100644
Binary files a/docs/User Guide/User Guide/Note Types/Text/4_Images_image.png and b/docs/User Guide/User Guide/Note Types/Text/4_Images_image.png differ
diff --git a/docs/User Guide/User Guide/Note Types/Text/9_Lists_image.jpg b/docs/User Guide/User Guide/Note Types/Text/4_Lists_image.jpg
similarity index 100%
rename from docs/User Guide/User Guide/Note Types/Text/9_Lists_image.jpg
rename to docs/User Guide/User Guide/Note Types/Text/4_Lists_image.jpg
diff --git a/docs/User Guide/User Guide/Note Types/Text/4_Lists_image.png b/docs/User Guide/User Guide/Note Types/Text/4_Lists_image.png
index 3caf2d880c..ee7a6bdead 100644
Binary files a/docs/User Guide/User Guide/Note Types/Text/4_Lists_image.png and b/docs/User Guide/User Guide/Note Types/Text/4_Lists_image.png differ
diff --git a/docs/User Guide/User Guide/Note Types/Text/5_Developer-specific formatting_image.png b/docs/User Guide/User Guide/Note Types/Text/5_Developer-specific formatting_image.png
deleted file mode 100644
index c0cf731a5f..0000000000
Binary files a/docs/User Guide/User Guide/Note Types/Text/5_Developer-specific formatting_image.png and /dev/null differ
diff --git a/docs/User Guide/User Guide/Note Types/Text/5_Lists_image.jpg b/docs/User Guide/User Guide/Note Types/Text/5_Lists_image.jpg
index ed6f4c37ca..fba0cc85c9 100644
Binary files a/docs/User Guide/User Guide/Note Types/Text/5_Lists_image.jpg and b/docs/User Guide/User Guide/Note Types/Text/5_Lists_image.jpg differ
diff --git a/docs/User Guide/User Guide/Note Types/Text/6_Images_image.jpg b/docs/User Guide/User Guide/Note Types/Text/6_Images_image.jpg
deleted file mode 100644
index 731df83bb9..0000000000
Binary files a/docs/User Guide/User Guide/Note Types/Text/6_Images_image.jpg and /dev/null differ
diff --git a/docs/User Guide/User Guide/Note Types/Text/7_Lists_image.png b/docs/User Guide/User Guide/Note Types/Text/7_Lists_image.png
deleted file mode 100644
index ee7a6bdead..0000000000
Binary files a/docs/User Guide/User Guide/Note Types/Text/7_Lists_image.png and /dev/null differ
diff --git a/docs/User Guide/User Guide/Note Types/Text/8_Images_image.png b/docs/User Guide/User Guide/Note Types/Text/8_Images_image.png
deleted file mode 100644
index 32f99c37cf..0000000000
Binary files a/docs/User Guide/User Guide/Note Types/Text/8_Images_image.png and /dev/null differ
diff --git a/docs/User Guide/User Guide/Note Types/Text/8_Lists_image.jpg b/docs/User Guide/User Guide/Note Types/Text/8_Lists_image.jpg
deleted file mode 100644
index 30a9511b08..0000000000
Binary files a/docs/User Guide/User Guide/Note Types/Text/8_Lists_image.jpg and /dev/null differ
diff --git a/docs/User Guide/User Guide/Note Types/Text/Developer-specific formatting.md b/docs/User Guide/User Guide/Note Types/Text/Developer-specific formatting.md
index 72d0865c44..d0bf46cc96 100644
--- a/docs/User Guide/User Guide/Note Types/Text/Developer-specific formatting.md
+++ b/docs/User Guide/User Guide/Note Types/Text/Developer-specific formatting.md
@@ -3,20 +3,20 @@
Inline code formats text using a monospace font to indicate technical content in a sentence such as code, paths, etc.
-![](5_Developer-specific%20formatting_image.png)
+![](3_Developer-specific%20formatting_image.png)
Example of inline code being used to illustrate file system paths as well as shell commands (`git` in this case).
To insert an inline code:
-* Via the [Formatting toolbar](Formatting%20toolbar.md), look for the ![](3_Developer-specific%20formatting_image.png) button.
+* Via the [Formatting toolbar](Formatting%20toolbar.md), look for the ![](2_Developer-specific%20formatting_image.png) button.
* Type \`code\` where `code` is the desired text to be automatically formatted as inline code.
### Code blocks
Code blocks display a snippet of code as a dedicated block:
-![](4_Developer-specific%20formatting_image.jpg)
+![](1_Developer-specific%20formatting_image.jpg)
A code block with JavaScript syntax highlight enabled.
@@ -30,8 +30,8 @@ This allows marking a portion of text as a shortcut key.
![](Developer-specific%20formatting_image.jpg)
-To apply this style, press the ![](6_Developer-specific%20formatting_image.png) button in ![](1_Developer-specific%20formatting_image.png) group from the [Formatting toolbar](Formatting%20toolbar.md). On the floating toolbar, the buttons appear when selecting a text.
+To apply this style, press the ![](4_Developer-specific%20formatting_image.png) button in ![](Developer-specific%20formatting_image.png) group from the [Formatting toolbar](Formatting%20toolbar.md). On the floating toolbar, the buttons appear when selecting a text.
Alternatively, press the <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>K</kbd> combination to apply keyboard shortcut formatting to the current text selection.
-The formatting can be removed by pressing again the button (from the UI or from the keyboard), or by using the <img src="2_Developer-specific formatting_image.png" width="17" height="16"> _Remove formatting_ button.
\ No newline at end of file
+The formatting can be removed by pressing again the button (from the UI or from the keyboard), or by using the <img src="1_Developer-specific formatting_image.png" width="17" height="16"> _Remove formatting_ button.
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Note Types/Text/Developer-specific formatting/2_Code blocks_image.png b/docs/User Guide/User Guide/Note Types/Text/Developer-specific formatting/1_Code blocks_image.png
similarity index 100%
rename from docs/User Guide/User Guide/Note Types/Text/Developer-specific formatting/2_Code blocks_image.png
rename to docs/User Guide/User Guide/Note Types/Text/Developer-specific formatting/1_Code blocks_image.png
diff --git a/docs/User Guide/User Guide/Note Types/Text/Developer-specific formatting/Code blocks.md b/docs/User Guide/User Guide/Note Types/Text/Developer-specific formatting/Code blocks.md
index 8ff92dd89c..0c8bc31034 100644
--- a/docs/User Guide/User Guide/Note Types/Text/Developer-specific formatting/Code blocks.md
+++ b/docs/User Guide/User Guide/Note Types/Text/Developer-specific formatting/Code blocks.md
@@ -1,5 +1,5 @@
# Code blocks
-![](1_Code%20blocks_image.jpg)
+![](Code%20blocks_image.jpg)
The code blocks feature allows entering pieces of code in text notes.
@@ -54,7 +54,7 @@ Should you encounter any issues after the migration, try running Trilium in safe
## Changing the language of a code block
Simply click anywhere inside the code block and press again the code block button in the <a class="reference-link" href="../Formatting%20toolbar.md">Formatting toolbar</a>:
-![](2_Code%20blocks_image.png)
+![](1_Code%20blocks_image.png)
## Adjusting the list of languages
diff --git a/docs/User Guide/User Guide/Note Types/Text/Developer-specific formatting/1_Code blocks_image.jpg b/docs/User Guide/User Guide/Note Types/Text/Developer-specific formatting/Code blocks_image.jpg
similarity index 100%
rename from docs/User Guide/User Guide/Note Types/Text/Developer-specific formatting/1_Code blocks_image.jpg
rename to docs/User Guide/User Guide/Note Types/Text/Developer-specific formatting/Code blocks_image.jpg
diff --git a/docs/User Guide/User Guide/Note Types/Text/Developer-specific formatting_image.png b/docs/User Guide/User Guide/Note Types/Text/Developer-specific formatting_image.png
new file mode 100644
index 0000000000..9580128a2f
Binary files /dev/null and b/docs/User Guide/User Guide/Note Types/Text/Developer-specific formatting_image.png differ
diff --git a/docs/User Guide/User Guide/Note Types/Text/Images.md b/docs/User Guide/User Guide/Note Types/Text/Images.md
index 14cb28a637..41a37fa0a7 100644
--- a/docs/User Guide/User Guide/Note Types/Text/Images.md
+++ b/docs/User Guide/User Guide/Note Types/Text/Images.md
@@ -26,7 +26,7 @@ The automatic download of images is enabled by default and can be toggled from 
## Configuring the images
Clicking on an image will reveal a popup with multiple options:
-![](7_Images_image.png)
+![](3_Images_image.png)
### Alignment
@@ -34,10 +34,10 @@ The first set of options configure the alignment are, in order:
| Icon | Option | Preview | Description |
| --- | --- | --- | --- |
-| ![](5_Images_image.png) | Inline | ![](1_Images_image.jpg) | As the name suggests, the name can be put inside a paragraph and moved around similarly as if it was a block of text. Use drag & drop or cut-paste to move it around. |
-| ![](8_Images_image.png) | Centered image | ![](2_Images_image.jpg) | The image will be displayed as a block and centered, not allowing text in either the left or right of it. |
-| ![](4_Images_image.png) | Wrap text | ![](6_Images_image.jpg) | The image will be displayed to the left or the right of the text. |
-| ![](Images_image.png) | Block align | ![](3_Images_image.jpg) | Similarly to _Centered image_, the image will be displayed as a block and aligned either to the left or to the right, but not allowing text to flow on either of its sides. |
+| ![](2_Images_image.png) | Inline | ![](Images_image.jpg) | As the name suggests, the name can be put inside a paragraph and moved around similarly as if it was a block of text. Use drag & drop or cut-paste to move it around. |
+| ![](4_Images_image.png) | Centered image | ![](1_Images_image.jpg) | The image will be displayed as a block and centered, not allowing text in either the left or right of it. |
+| ![](1_Images_image.png) | Wrap text | ![](3_Images_image.jpg) | The image will be displayed to the left or the right of the text. |
+| ![](Images_image.png) | Block align | ![](2_Images_image.jpg) | Similarly to _Centered image_, the image will be displayed as a block and aligned either to the left or to the right, but not allowing text to flow on either of its sides. |
## Compression
diff --git a/docs/User Guide/User Guide/Note Types/Text/Images_image.jpg b/docs/User Guide/User Guide/Note Types/Text/Images_image.jpg
new file mode 100644
index 0000000000..a4e23ef9a8
Binary files /dev/null and b/docs/User Guide/User Guide/Note Types/Text/Images_image.jpg differ
diff --git a/docs/User Guide/User Guide/Note Types/Text/Lists.md b/docs/User Guide/User Guide/Note Types/Text/Lists.md
index 1d4c059698..7d21488c38 100644
--- a/docs/User Guide/User Guide/Note Types/Text/Lists.md
+++ b/docs/User Guide/User Guide/Note Types/Text/Lists.md
@@ -1,7 +1,7 @@
# Lists
There are three types of lists supported by text notes:
-* <img src="4_Lists_image.png" width="17" height="13"> Bulleted lists (also known as unordered lists).
+* <img src="3_Lists_image.png" width="17" height="13"> Bulleted lists (also known as unordered lists).
* <img src="1_Lists_image.png" width="18" height="16"> Numbered lists (or ordered lists).
* <img src="Lists_image.png" width="19" height="13"> To-do lists
@@ -17,7 +17,7 @@ For bulleted and numbered lists, it's possible to configure an alternative marke
* To create a blank line within a list item, press <kbd>Shift</kbd>+<kbd>Enter</kbd>.
* To exit out of the list, press <kbd>Enter</kbd> twice.
* To merge two lists, simply delete the gap between them.
-* To create nested lists, simply use the <img src="7_Lists_image.png" width="17" height="14"> button (see _Indentation_ in <a class="reference-link" href="Other%20features.md">Other features</a>) or the <kbd>Tab</kbd> key. To decrease the nesting level for the current element, press <kbd>Shift</kbd>+<kbd>Tab</kbd>.
+* To create nested lists, simply use the <img src="4_Lists_image.png" width="17" height="14"> button (see _Indentation_ in <a class="reference-link" href="Other%20features.md">Other features</a>) or the <kbd>Tab</kbd> key. To decrease the nesting level for the current element, press <kbd>Shift</kbd>+<kbd>Tab</kbd>.
## Headings, code blocks within lists
@@ -25,12 +25,12 @@ It possible to add content-level blocks such as headings, code blocks, tables wi
| | | |
| --- | --- | --- |
-| 1 | ![](6_Lists_image.jpg) | First, create a list. |
-| 2 | ![](9_Lists_image.jpg) | Press Enter to create a new list item. |
-| 3 | ![](5_Lists_image.jpg) | Press Backspace to get rid of the bullet point. Notice the cursor position. |
-| 4 | <img class="image_resized" style="aspect-ratio:676/112;width:98.29%;" src="10_Lists_image.jpg" width="676" height="112"> | At this point, insert any desired block-level item such as a code block. |
-| 5 | <img class="image_resized" style="aspect-ratio:675/129;width:94.22%;" src="8_Lists_image.jpg" width="675" height="129"> | To continue with a new bullet point, press Enter until the cursor moves to a new blank position. |
-| 6 | <img class="image_resized" style="aspect-ratio:675/129;width:100%;" src="3_Lists_image.jpg" width="675" height="129"> | Press Enter once more to create the new bullet. |
+| 1 | ![](2_Lists_image.jpg) | First, create a list. |
+| 2 | ![](4_Lists_image.jpg) | Press Enter to create a new list item. |
+| 3 | ![](1_Lists_image.jpg) | Press Backspace to get rid of the bullet point. Notice the cursor position. |
+| 4 | <img class="image_resized" style="aspect-ratio:676/112;width:98.29%;" src="5_Lists_image.jpg" width="676" height="112"> | At this point, insert any desired block-level item such as a code block. |
+| 5 | <img class="image_resized" style="aspect-ratio:675/129;width:94.22%;" src="3_Lists_image.jpg" width="675" height="129"> | To continue with a new bullet point, press Enter until the cursor moves to a new blank position. |
+| 6 | <img class="image_resized" style="aspect-ratio:675/129;width:100%;" src="Lists_image.jpg" width="675" height="129"> | Press Enter once more to create the new bullet. |
The same principle applies to all three list types (bullet, numbered and to-do).
diff --git a/docs/User Guide/User Guide/Note Types/Text/Lists_image.jpg b/docs/User Guide/User Guide/Note Types/Text/Lists_image.jpg
new file mode 100644
index 0000000000..32992762ae
Binary files /dev/null and b/docs/User Guide/User Guide/Note Types/Text/Lists_image.jpg differ