Other features

Indentation

Article Image

Paragraphs can be indented using the following buttons from the Formatting toolbar:

  • Press  to increase the indentation of the current paragraph by one. Can be pressed multiple times if needed.
  • Press  to decrease the indentation of a current paragraph. The button will be disabled if it is already at the minimum indentation level.
  • For convenience, keyboard shortcuts are also available. Press Tab to indent or Shift+Tab to decrease the indentation. These shortcuts work even if the cursor is not at the beginning of a paragraph or a list.
  • Apart from paragraphs, the indent button is also enabled in Lists (for nesting) and Tables.

When indented paragraphs or headings are copied and pasted as plain text, for example into a Code note or another application, each indentation level becomes a tab at the start of the line. A copy that stays within a single paragraph contains only its text, without the indentation.

The reverse also works: when plain text is pasted into a text note, each paragraph whose lines all start with tabs is indented by one level per tab. Pasting into a code block keeps the tabs as they are.

Markdown import

If the clipboard contains Markdown text, it can be easily imported into text notes. Simply copy a Markdown-formatted text and press the  to insert its visual representation.

Note that this only works with raw Markdown (e.g. # Heading 1 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.

This is mostly useful for snippets of text, for entire Markdown documents use the dedicated Markdown import/export function.

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.

Cut to subnote

The  button will create a child note with the selected text. For more information, see Cut to subnote.

Find and replace

Article Image

The  button will open the editor's dedicated search and replace functionality.

Alternatively, the Ctrl+F combination can be pressed to show the dialog.