diff --git a/Wiki/code-notes.md b/Wiki/code-notes.md index 2b289f3..7f6d2ea 100644 --- a/Wiki/code-notes.md +++ b/Wiki/code-notes.md @@ -1,4 +1,4 @@ -# Code-notes +# Code-notes Trilium supports creating "code" notes, i.e. notes which contain some sort of formal code - be it programming language (C++, JavaScript), structured data (JSON, XML) or other types of codes (CSS etc.). This can be useful for a few things: @@ -18,6 +18,6 @@ Trilium supports syntax highlighting for many languages, but by default displays Code blocks ----------- -An alternative to the code note is a "code block" - feature of a text note which can add short snippets of code to the text editor. The disadvantage is that code blocks don't support syntax highlighting. +An alternative to the code note is a "code block" - feature of a text note which can add short snippets of code to the text editor. Trilium Next v90.12 and newer will show syntax highlighting. ![](images/code-block.png) diff --git a/Wiki/keyboard-shortcuts.md b/Wiki/keyboard-shortcuts.md index 0e9117f..ec66de4 100644 --- a/Wiki/keyboard-shortcuts.md +++ b/Wiki/keyboard-shortcuts.md @@ -1,4 +1,4 @@ -# Keyboard-shortcuts +# Keyboard-shortcuts This is supposed to be a complete list of keyboard shortcuts. Note that some of these may work only in certain contexts (e.g. in tree pane or note editor). It is also possible to configure most keyboard shortcuts in Options -> Keyboard shortcuts. Using `global:` prefix, you can assign a shortcut which will work even without Trilium being in focus (requires app restart to take effect). @@ -56,6 +56,9 @@ Editing notes Trilium uses CKEditor 5 for the [text notes](text-notes.md) and CodeMirror 5 for [code notes](code-notes.md). Check the documentation of these projects to see all their built-in keyboard shortcuts. +* `ALT-F10` - bring up inline formatting toolbar (arrow keys `<-`,`->` to navigate, `ENTER` to apply) +* `ALT-F10` - again to bring up block formatting toolbar + * `ENTER` in tree pane switches from tree pane into note title. Enter from note title switches focus to text editor. `CTRL+.` switches back from editor to tree pane. * `CTRL+K` - create / edit [external link](links.md) * `CTRL+L` - create [internal (note) link](links.md)