Converting between note types
A note's type may be converted to another:
- Text notes to Markdown notes
- Markdown notes to Text notes
- File notes holding a Word, OpenDocument Text or RTF document to Text notes
- Canvas notes to Handwriting notes
Before conversion, a revision is saved automatically, so you can restore the original or recover any missing elements from it if the conversion produces undesired results. Read more about Note Revisions.
Converting individual notes
Markdown to Text Note
Markdown notes can be converted to Text Notes with negligible loss of formatting fidelity.
To do so, go to the Note menu → Advanced and select Convert to text note.
Text Note to Markdown
To convert a text note to Markdown, go to the Note menu → Advanced and select Convert to Markdown note.
Document to Text Note
A File note holding a Word (.docx), OpenDocument Text (.odt) or RTF document can be turned into a Text note, so that its content can be edited in Trilium. To do so, go to the Note menu and select Convert to text note.
The conversion keeps headings, paragraphs and their alignment, bold, italic and the other text formatting, text and highlight colors, lists, links, tables with their column widths, cell colors, borders, padding, vertical alignment, row heights and merged cells, page breaks, and pictures, which become attachments of the note. Text larger or smaller than the body text of the document gets the nearest of the editor's font sizes (Tiny, Small, Big or Huge). The extension is removed from the title of the note. In a Word document, the space Word leaves around the text of a table cell is added to the cell's padding, so that its rows keep their height. The document's fonts and the colors of its headings are not kept, so that the note follows the theme like any other Text note; to get them back when exporting the note, use the original document as its Word template (see Import & Export). The revision saved beforehand holds the original file, so it can be downloaded or restored from Note Revisions.
Canvas to Handwriting
A Canvas note that was used for writing by hand can be turned into a Handwriting note. To do so, go to the Note menu and select Convert to handwriting note. See Handwriting for what the conversion keeps.
Converting multiple notes
A conversion between Text and Markdown notes can also be performed on an entire subtree or a set of multiple notes using Bulk Actions.