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 formatting keyboard shortcuts for markdown
Elian Doranc3364a9373eb
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Markdown.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Markdown.htmlindex 87648af340..9ecf5b9310 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Markdown.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Markdown.html@@ -102,55 +102,47 @@<p>The Markdown notes share some of the keyboard shortcuts from <a class="reference-link"href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_iPIMuisry3hd">Text</a> notes:</p><ul>- <li>- <p><em>Cut to note</em> (<kbd spellcheck="false">Ctrl</kbd>+<kbd spellcheck="false">X</kbd>)- which cuts the selection into a new child note.</p>- </li>- <li>- <p><em>Add link</em> (<kbd spellcheck="false">Ctrl</kbd>+<kbd spellcheck="false">L</kbd>)- which shows the dialog to create external or reference links.</p>- </li>- <li>- <p><em>Insert date/time</em> (<kbd spellcheck="false">Alt</kbd>+<kbd spellcheck="false">T</kbd>)- which respects the same formatting as text notes.</p>- </li>- <li>- <p><em>Include note</em> (not assigned by default), which triggers the same- dialog to insert notes as the one for text notes.</p>- </li>+ <li><em>Cut to note</em> (<kbd spellcheck="false">Ctrl</kbd>+<kbd spellcheck="false">X</kbd>)+ which cuts the selection into a new child note.</li>+ <li><em>Add link</em> (<kbd spellcheck="false">Ctrl</kbd>+<kbd spellcheck="false">L</kbd>)+ which shows the dialog to create external or reference links.</li>+ <li><em>Insert date/time</em> (<kbd spellcheck="false">Alt</kbd>+<kbd spellcheck="false">T</kbd>)+ which respects the same formatting as text notes.</li>+ <li><em>Include note</em> (not assigned by default), which triggers the same+ dialog to insert notes as the one for text notes.</li>+</ul>+<p>In addition, the following formatting keyboard shortcuts are available:</p>+<ul>+ <li><kbd spellcheck="false">Ctrl</kbd>+<kbd spellcheck="false">B</kbd> to toggle <strong>bold</strong>.</li>+ <li+ ><kbd spellcheck="false">Ctrl</kbd>+<kbd spellcheck="false">I</kbd> to toggle <em>italic</em>.</li>+ <li+ ><kbd spellcheck="false">Ctrl</kbd>+<kbd spellcheck="false">M</kbd> to wrap+ the current selection in an inline math (<code spellcheck="false">$</code>).</li>+ <li+ ><kbd spellcheck="false">Ctrl</kbd>+<kbd spellcheck="false">Shift</kbd>++ <kbd+ spellcheck="false">X</kbd>to toggle <del>strikethrough</del>.</li></ul><h3>Images & attachments</h3><p>Images can be inserted into the document in four different methods:</p><ul>- <li>- <p>Drag & drop directly into the editor area.</p>- </li>- <li>- <p>Pasting an image from clipboard.</p>- </li>- <li>- <p>Pasting a reference to another <a href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/BFs8mudNFgCS/_help_0vhv7lsOLy82">attachment</a> (e.g. <em>Copy reference to clipboard</em> button).</p>- </li>- <li>- <p>Use the <code spellcheck="false">/image</code> slash command.</p>- </li>+ <li>Drag & drop directly into the editor area.</li>+ <li>Pasting an image from clipboard.</li>+ <li>Pasting a reference to another <a href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/BFs8mudNFgCS/_help_0vhv7lsOLy82">attachment</a> (e.g. <em>Copy reference to clipboard</em> button).</li>+ <li+ >Use the <code spellcheck="false">/image</code> slash command.</li></ul><p>An image reference to an attachment looks like this:</p><pre><code class="language-text-x-markdown"></code></pre><h3>Slash commands</h3><p>Just like <a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_iPIMuisry3hd">Text</a> notes,Markdown notes support a selection of slash commands:</p><ul>- <li>- <p>Creating <a href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/iPIMuisry3hd/_help_NwBbFdNZ9h7O">admonitions</a> (e.g.- <code- spellcheck="false">/tip</code>)</p>- </li>- <li>- <p>Uploading images (<code spellcheck="false">/image</code>).</p>- </li>- <li>- <p>Inserting the current date & time (<code spellcheck="false">/date</code>).</p>- </li>+ <li>Creating <a href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/iPIMuisry3hd/_help_NwBbFdNZ9h7O">admonitions</a> (e.g.+ <code+ spellcheck="false">/tip</code>)</li>+ <li>Uploading images (<code spellcheck="false">/image</code>).</li>+ <li>Inserting the current date & time (<code spellcheck="false">/date</code>).</li></ul><p>Note that slash commands only work outside of inline </p><h3>Other features</h3>diff --git a/docs/User Guide/User Guide/Note Types/Markdown.md b/docs/User Guide/User Guide/Note Types/Markdown.mdindex a9e1ead163..6553ead6db 100644--- a/docs/User Guide/User Guide/Note Types/Markdown.md+++ b/docs/User Guide/User Guide/Note Types/Markdown.md@@ -89,6 +89,13 @@ The Markdown notes share some of the keyboard shortcuts from <a class="referenc* _Insert date/time_ (<kbd spellcheck="false">Alt</kbd>+<kbd spellcheck="false">T</kbd>) which respects the same formatting as text notes.* _Include note_ (not assigned by default), which triggers the same dialog to insert notes as the one for text notes.+In addition, the following formatting keyboard shortcuts are available:++* <kbd spellcheck="false">Ctrl</kbd>+<kbd spellcheck="false">B</kbd> to toggle **bold**.+* <kbd spellcheck="false">Ctrl</kbd>+<kbd spellcheck="false">I</kbd> to toggle _italic_.+* <kbd spellcheck="false">Ctrl</kbd>+<kbd spellcheck="false">M</kbd> to wrap the current selection in an inline math (`$`).+* <kbd spellcheck="false">Ctrl</kbd>+<kbd spellcheck="false">Shift</kbd>+<kbd spellcheck="false">X</kbd> to toggle ~~strikethrough~~.+### Images & attachmentsImages can be inserted into the document in four different methods: