Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
docs(user): mention keyboard shortcuts
Elian Doranc3e0ef3a27e4
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Metrics.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Metrics.htmlindex 36e1d38c6a..805db1df26 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Metrics.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Metrics.html@@ -1,6 +1,4 @@-<p> </p>-<h1><strong>Trilium Metrics API</strong></h1>-<p>The Trilium metrics API provides comprehensive monitoring data about your+<p>The Trilium Metrics API provides comprehensive monitoring data about yourTrilium instance, designed for external monitoring systems like Prometheus.</p><h2><strong>Endpoint</strong></h2><ul>@@ -81,7 +79,4 @@ trilium_notes_total 1234 1701432000<li><code>400</code> - Invalid format parameter</li><li><code>401</code> - Missing or invalid ETAPI token</li><li><code>500</code> - Internal server error</li>-</ul>-<p> </p>-<p> </p>-<p> </p>\ No newline at end of file+</ul>\ No newline at end of filediff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.htmlindex 97629b68bb..ddd6b647d0 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.html@@ -70,23 +70,16 @@<li><kbd>Del</kbd> - delete note / sub-tree</li></ul><h2>Editing notes</h2>-<ul>- <li>For <a class="reference-link" href="#root/_help_iPIMuisry3hd">Text</a> notes,+<aside class="admonition note">+ <p>For keyboard shortcuts specific to <a class="reference-link" href="#root/_help_iPIMuisry3hd">Text</a> notes,refer to <a class="reference-link" href="#root/_help_oiVPnW8QfnvS">Keyboard shortcuts</a> and <a- class="reference-link" href="#root/_help_QrtTYPmdd1qq">Markdown-like formatting</a>.</li>- <li><kbd>Alt</kbd>-<kbd>F10</kbd> - bring up inline formatting toolbar (arrow- keys <kbd><span>←</span></kbd>,<kbd><span>→</span></kbd> to navigate, <kbd>Enter</kbd> to- apply)</li>- <li><kbd>Alt</kbd>-<kbd>F10</kbd> - again to bring up block formatting toolbar</li>- <li><kbd>Enter</kbd> in tree pane switches from tree pane into note title.+ class="reference-link" href="#root/_help_QrtTYPmdd1qq">Markdown-like formatting</a>.</p>+</aside>+<ul>+ <li> <kbd>Enter</kbd> in tree pane switches from tree pane into note title.Enter from note title switches focus to text editor. <kbd>Ctrl</kbd>+<kbd>.</kbd> switchesback from editor to tree pane.</li>- <li><kbd>Ctrl</kbd>+<kbd>K</kbd> - create / edit <a href="#root/_help_QEAPj01N5f7w">external link</a>- </li>- <li><kbd>Ctrl</kbd>+<kbd>L</kbd> - create <a href="#root/_help_QEAPj01N5f7w">internal (note) link</a>- </li>- <li><kbd>Alt</kbd>+<kbd>T</kbd> - inserts current date and time at caret position</li><li><kbd>Ctrl</kbd>+<kbd>.</kbd> - jump away from the editor to tree pane andscroll to current note</li></ul>diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Keyboard shortcuts.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Keyboard shortcuts.htmlindex 3c18e673d7..bcc73cd290 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Keyboard shortcuts.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Keyboard shortcuts.html@@ -1,3 +1,78 @@+<h2>Trilium-specific shortcuts</h2>+<figure class="table">+ <table>+ <thead>+ <tr>+ <th>Action</th>+ <th>PC</th>+ <th>Mac</th>+ </tr>+ </thead>+ <tbody>+ <tr>+ <td>Bring up inline formatting toolbar (arrow keys <kbd><span>←</span></kbd>,<kbd><span>→</span></kbd> to+ navigate, <kbd>Enter</kbd> to apply)</td>+ <td><kbd>Alt</kbd>+<kbd>F10</kbd>+ </td>+ <td><kbd>⌥</kbd>+<kbd>F10</kbd>+ </td>+ </tr>+ <tr>+ <td>Bring up block formatting toolbar</td>+ <td><kbd>Alt</kbd>+<kbd>F10</kbd>+ </td>+ <td><kbd>⌥</kbd>+<kbd>F10</kbd>+ </td>+ </tr>+ <tr>+ <td>Create <a href="#root/_help_QEAPj01N5f7w">external link</a>+ </td>+ <td><kbd>Ctrl</kbd>+<kbd>K</kbd>+ </td>+ <td><kbd>⌘</kbd>+<kbd>K</kbd>+ </td>+ </tr>+ <tr>+ <td>Create <a href="#root/_help_QEAPj01N5f7w">internal (note) link</a>+ </td>+ <td><kbd>Ctrl</kbd>+<kbd>L</kbd>+ </td>+ <td><kbd>⌘</kbd>+<kbd>L</kbd>+ </td>+ </tr>+ <tr>+ <td>Inserts current date and time at caret position</td>+ <td><kbd>Alt</kbd>+<kbd>T</kbd> </td>+ <td><kbd>⌥</kbd>+<kbd>T</kbd> </td>+ </tr>+ <tr>+ <td rowspan="2">Move blocks (lists, paragraphs, etc.) up</td>+ <td><kbd>Ctrl</kbd>+<kbd>↑</kbd> </td>+ <td><kbd>⌘</kbd>+<kbd>↑</kbd> </td>+ </tr>+ <tr>+ <td><kbd>Alt</kbd>+<kbd>↑</kbd>+ </td>+ <td><kbd>⌥</kbd>+<kbd>↑</kbd>+ </td>+ </tr>+ <tr>+ <td rowspan="2">Move blocks (lists, paragraphs, etc.) down</td>+ <td><kbd>Ctrl</kbd>+<kbd>↑</kbd>+ </td>+ <td><kbd>⌘</kbd>+<kbd>↑</kbd>+ </td>+ </tr>+ <tr>+ <td><kbd>Alt</kbd>+<kbd>↓</kbd>+ </td>+ <td><kbd>⌥</kbd>+<kbd>↓</kbd>+ </td>+ </tr>+ </tbody>+ </table>+</figure>+<h2>Common shortcuts</h2><aside class="admonition tip"><p>This section of keyboard shortcuts presents a subset of the keyboard shortcutsas supported by the editor technology we are using, <a class="reference-link"@@ -155,7 +230,6 @@</tbody></table></figure>-<h3>Interacting with blocks</h3><p>Blocks are images, tables, blockquotes, annotations.</p><figure class="table">@@ -269,7 +343,6 @@</tbody></table></figure>-<h3>General UI shortcuts</h3><figure class="table"><table>diff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.jsonindex 971326d330..ec33beba1f 100644--- a/docs/User Guide/!!!meta.json+++ b/docs/User Guide/!!!meta.json@@ -4089,51 +4089,44 @@{"type": "relation","name": "internalLink",- "value": "iPIMuisry3hd",+ "value": "eIg8jdvaoNNd","isInheritable": false,- "position": 40+ "position": 80},{- "type": "relation",- "name": "internalLink",- "value": "oiVPnW8QfnvS",+ "type": "label",+ "name": "shareAlias",+ "value": "keyboard-shortcuts","isInheritable": false,- "position": 50+ "position": 30},{- "type": "relation",- "name": "internalLink",- "value": "QrtTYPmdd1qq",+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-keyboard","isInheritable": false,- "position": 60+ "position": 80},{"type": "relation","name": "internalLink",- "value": "QEAPj01N5f7w",+ "value": "iPIMuisry3hd","isInheritable": false,- "position": 70+ "position": 90},{"type": "relation","name": "internalLink",- "value": "eIg8jdvaoNNd",- "isInheritable": false,- "position": 80- },- {- "type": "label",- "name": "shareAlias",- "value": "keyboard-shortcuts",+ "value": "oiVPnW8QfnvS","isInheritable": false,- "position": 30+ "position": 100},{- "type": "label",- "name": "iconClass",- "value": "bx bxs-keyboard",+ "type": "relation",+ "name": "internalLink",+ "value": "QrtTYPmdd1qq","isInheritable": false,- "position": 80+ "position": 110}],"format": "markdown",@@ -6127,19 +6120,26 @@"type": "text","mime": "text/html","attributes": [+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-keyboard",+ "isInheritable": false,+ "position": 30+ },{"type": "relation","name": "internalLink","value": "MI26XDLSAlCD","isInheritable": false,- "position": 10+ "position": 40},{- "type": "label",- "name": "iconClass",- "value": "bx bxs-keyboard",+ "type": "relation",+ "name": "internalLink",+ "value": "QEAPj01N5f7w","isInheritable": false,- "position": 30+ "position": 50}],"format": "markdown",diff --git a/docs/User Guide/User Guide/Advanced Usage/Metrics.md b/docs/User Guide/User Guide/Advanced Usage/Metrics.mdindex 267b890abf..a99da0c95b 100644--- a/docs/User Guide/User Guide/Advanced Usage/Metrics.md+++ b/docs/User Guide/User Guide/Advanced Usage/Metrics.md@@ -1,6 +1,5 @@-# **Trilium Metrics API**--The Trilium metrics API provides comprehensive monitoring data about your Trilium instance, designed for external monitoring systems like Prometheus.+# Metrics+The Trilium Metrics API provides comprehensive monitoring data about your Trilium instance, designed for external monitoring systems like Prometheus.## **Endpoint**diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.md b/docs/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.mdindex 373a8daa69..6b6ed97ca2 100644--- a/docs/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.md+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.md@@ -49,13 +49,10 @@ Only in desktop (electron build):## Editing notes-* For <a class="reference-link" href="../Note%20Types/Text.md">Text</a> notes, refer to <a class="reference-link" href="../Note%20Types/Text/Keyboard%20shortcuts.md">Keyboard shortcuts</a> and <a class="reference-link" href="../Note%20Types/Text/Markdown-like%20formatting.md">Markdown-like formatting</a>.-* <kbd>Alt</kbd>\-<kbd>F10</kbd> - bring up inline formatting toolbar (arrow keys <kbd><span>←</span></kbd>,<kbd><span>→</span></kbd> to navigate, <kbd>Enter</kbd> to apply)-* <kbd>Alt</kbd>\-<kbd>F10</kbd> - again to bring up block formatting toolbar+> [!NOTE]+> For keyboard shortcuts specific to <a class="reference-link" href="../Note%20Types/Text.md">Text</a> notes, refer to <a class="reference-link" href="../Note%20Types/Text/Keyboard%20shortcuts.md">Keyboard shortcuts</a> and <a class="reference-link" href="../Note%20Types/Text/Markdown-like%20formatting.md">Markdown-like formatting</a>.+* <kbd>Enter</kbd> in tree pane switches from tree pane into note title. Enter from note title switches focus to text editor. <kbd>Ctrl</kbd>+<kbd>.</kbd> switches back from editor to tree pane.-* <kbd>Ctrl</kbd>+<kbd>K</kbd> - create / edit [external link](../Note%20Types/Text/Links.md)-* <kbd>Ctrl</kbd>+<kbd>L</kbd> - create [internal (note) link](../Note%20Types/Text/Links.md)-* <kbd>Alt</kbd>+<kbd>T</kbd> - inserts current date and time at caret position* <kbd>Ctrl</kbd>+<kbd>.</kbd> - jump away from the editor to tree pane and scroll to current note## Runtime shortcutsdiff --git a/docs/User Guide/User Guide/Note Types/Text/Keyboard shortcuts.md b/docs/User Guide/User Guide/Note Types/Text/Keyboard shortcuts.mdindex 75378e9242..392b2eff9b 100644--- a/docs/User Guide/User Guide/Note Types/Text/Keyboard shortcuts.md+++ b/docs/User Guide/User Guide/Note Types/Text/Keyboard shortcuts.md@@ -1,4 +1,10 @@# Keyboard shortcuts+## Trilium-specific shortcuts++<figure class="table"><table><thead><tr><th>Action</th><th>PC</th><th>Mac</th></tr></thead><tbody><tr><td>Bring up inline formatting toolbar (arrow keys <kbd><span>←</span></kbd>,<kbd><span>→</span></kbd> to navigate, <kbd>Enter</kbd> to apply)</td><td><kbd>Alt</kbd>+<kbd>F10</kbd></td><td><kbd>⌥</kbd>+<kbd>F10</kbd></td></tr><tr><td>Bring up block formatting toolbar</td><td><kbd>Alt</kbd>+<kbd>F10</kbd></td><td><kbd>⌥</kbd>+<kbd>F10</kbd></td></tr><tr><td>Create <a href="Links.md">external link</a></td><td><kbd>Ctrl</kbd>+<kbd>K</kbd></td><td><kbd>⌘</kbd>+<kbd>K</kbd></td></tr><tr><td>Create <a href="Links.md">internal (note) link</a></td><td><kbd>Ctrl</kbd>+<kbd>L</kbd></td><td><kbd>⌘</kbd>+<kbd>L</kbd></td></tr><tr><td>Inserts current date and time at caret position</td><td><kbd>Alt</kbd>+<kbd>T</kbd> </td><td><kbd>⌥</kbd>+<kbd>T</kbd> </td></tr><tr><td rowspan="2">Move blocks (lists, paragraphs, etc.) up</td><td><kbd>Ctrl</kbd>+<kbd>↑</kbd> </td><td><kbd>⌘</kbd>+<kbd>↑</kbd> </td></tr><tr><td><kbd>Alt</kbd>+<kbd>↑</kbd></td><td><kbd>⌥</kbd>+<kbd>↑</kbd></td></tr><tr><td rowspan="2">Move blocks (lists, paragraphs, etc.) down</td><td><kbd>Ctrl</kbd>+<kbd>↑</kbd></td><td><kbd>⌘</kbd>+<kbd>↑</kbd></td></tr><tr><td><kbd>Alt</kbd>+<kbd>↓</kbd></td><td><kbd>⌥</kbd>+<kbd>↓</kbd></td></tr></tbody></table></figure>++## Common shortcuts+> [!TIP]> This section of keyboard shortcuts presents a subset of the keyboard shortcuts as supported by the editor technology we are using, <a class="reference-link" href="../../Advanced%20Usage/Technologies%20used/CKEditor.md">CKEditor</a>. The shortcuts were taken from the [official documentation](https://ckeditor.com/docs/ckeditor5/latest/features/accessibility.html#keyboard-shortcuts). Note that not all the shortcuts in the original documentation are applicable (due to using a different configuration).