Note types with split view

Split view is a feature of Mermaid Diagrams and Markdown notes which displays both the source code on one side and the preview of the content on the other.

Mermaid Diagrams also allow changing between a horizontal or a vertical split, to accommodate for the various sizes of diagrams.

Display modes and interaction#

The split comes with three different display modes:

  • Split view, in which both the source code is available on one side and can be edited, and the preview is available on the other side.
    • In this mode, the size of either the source pane or the preview pane can be adjusted by dragging the small border between them.
  • Source view which shows the source code on the entire screen for a more focused editing experience.
  • Preview which displays only the rendering of the diagram or text in full screen, especially useful for read-only notes.

These buttons can be found near the Note buttons section on the New Layout, or in the Floating buttons on the old layout.

The display node is stored at note level.

Relation to read-only notes#

If a note is marked as read-only, the source view will not be editable. While in preview mode, marking a note as read-only has no effect since the preview itself is not editable.