Open in TheBrain

Writing and Formatting Notes

Overview

Every thought in TheBrain has its own note — a full rich-text document attached to the thought, shown in the content area. This is where the substance of a thought lives: write as much or as little as you like, format it the way you would in a word processor, and it's saved for you automatically as you go. Notes can also hold links, images, tables, math, and more, each covered in its own topic.

A brain window with the thought Existing Clients active and its note in the content area — the thought's name at the top, then a quote, a heading and a bulleted list with bold text, with the formatting toolbar above and the Rich Text, Text and Split buttons along the bottom

The notes toolbar, with a row of labels naming its groups of buttons from left to right: Undo / redo, Paragraph style, Text formats, Lists and alignment, Clear formatting, Colors, Link, Callout and Insert, Attach, Indent and move, Find, Export and print, and Text size

Character Formatting

Select text and apply inline formatting. The formats with default shortcuts are:

FormatDefault shortcut
BoldCtrl+B (⌘B on Mac)
ItalicCtrl+I (⌘I on Mac)
UnderlineCtrl+U (⌘U on Mac)

Strikethrough, Superscript, Subscript, and Code (inline) are on the toolbar and in the right-click Format Text menu. None of these has a default shortcut. On a wide window the toolbar shows Underline, Strikethrough, Superscript, and Subscript as their own buttons; as the window narrows they move into a Text Style menu on the toolbar, and on the narrowest layouts (including phones) into its More (…) menu. Remove Formatting clears formatting from the selection, and Copy Formatting / Paste Formatting let you carry one passage's formatting to another.

The menu that right-clicking selected text in a note opens, with a label on the selected text, Active work: its Format Text submenu is open, listing Bold, Italic, Underline, Strikethrough, Code, Highlight, Superscript, Subscript and Remove Formatting, beside Format Paragraph, Go to Heading, Insert, Insert Callout and the clipboard and line commands

Paragraph Formatting

Apply these to whole paragraphs from the Format Paragraph controls:

Line Breaks, and Leaving a List or Code Block

Spacing Between Lines

Lines you separate with Enter sit a little apart, by the brain's Line gap, while the lines that a long line wraps into and lines broken with Shift+Enter (⇧Enter on Mac) keep the normal line spacing. To start a new paragraph, leave an empty line between the two, as you would in a word processor. A heading gets a little extra space above it. Both Line spacing and Line gap are set for each brain, on the Notes tab of Settings > Brain > Content Settings (see Brain Content Settings).

Text Direction

Each paragraph's writing direction is detected automatically from its first letter, so Hebrew, Arabic, and other right-to-left text lays out correctly on its own — line by line, alongside left-to-right paragraphs in the same note. To override the detection for a paragraph (say, a right-to-left sentence that happens to begin with a number or a Latin word), choose Right to Left or Left to Right from the toolbar's Text Align menu or from the right-click menu's Format Paragraph submenu. The choice applies to the selected paragraphs and has no default shortcut. Choosing Right to Left on a paragraph you haven't aligned also aligns it to the right. Code blocks always run left to right. Thought names and labels get the same automatic detection wherever they're shown, but without a manual override.

The Text Align menu of the notes toolbar: Align Left, Align Center and Align Right, then Left to Right and Right to Left, with Align Left and Left to Right checked

Color, Highlight, and Inline Code

From the editor toolbar you can set a Text Color, a Background Color, apply a Highlight, or mark text as Inline Code. Highlight is also in the right-click Format Text menu. It has no default shortcut, but you can give it one in Settings > User > Keyboard, and the toolbar button's tooltip then shows it.

Auto-Save

In the rich-text editor, notes save automatically — there's no Save button. The note is saved shortly after you stop typing, and it's also saved immediately if you switch away or close the app, so you won't lose work. The Text and Split views work differently: they have no timed save, and keep your edits until you click Save, switch views, or leave the note (see The Text Editor (Text and Split Views)). Use Undo (Ctrl+Z, ⌘Z on Mac) and Redo (Ctrl+Shift+Z or Ctrl+Y, ⇧⌘Z or ⌘Y on Mac) to step through your edits.

Note Views and the Status Bar

Everywhere but on phones, in a brain you can edit, a status bar under the note offers three views of it: Rich Text (the normal formatted editor), Text (the note's raw Markdown in a plain-text editor), and Split (the text editor side by side with a live preview). Your caret, scroll position, and selection carry over when you switch views.

The status bar along the bottom of a note, with labels on the Rich Text, Text and Split buttons at the left, and the Note Versions and View Options buttons at the right

Two related preferences in Settings > User > Notes: the Toolbar setting places the notes toolbar above the note (Show on top, or Show on top with all commands to stop it condensing when narrow) or inside the bottom status bar (Show on bottom); and Highlight current line of text (Subtle, Strong, or Disable) tints the line the cursor is on in both the rich and text editors.

Collapsing and Expanding Sections

You can fold a long note by collapsing parts of it — a heading with everything under it, a list item with its sub-items, or a foldable callout — and expanding them again. Six commands do it:

The note of Launch Plans with its first two sections, Planning Effort by Stage and Planning Framework, collapsed to their headings, each with an arrow pointing right and a label, while Launch Readiness Checklist below them is open

CommandDefault shortcutWhat it does
Toggle CollapseCtrl+\ (⌘\ on Mac)Collapses or expands the section at the cursor
Collapse AllCtrl+[ (⌘[ on Mac)Collapses every section of the note, except any that would hide the line your cursor is on — those stay open
Expand AllCtrl+] (⌘] on Mac)Expands every section of the note
Collapse OthersCtrl+Shift+[ (⇧⌘[ on Mac)Collapses every section except the ones your cursor or selection is in, and expands those — so only the part you're working on stays open
Collapse This LevelNoneCollapses the sub-sections inside the section at the cursor
Expand This LevelNoneExpands the section at the cursor and everything inside it

Toggle Collapse, Collapse All, and Expand All are also in the note's right-click menu. In the Mac desktop app, all six are in the menu bar under Note > Outline. To run Collapse This Level or Expand This Level from the keyboard, give them a shortcut in Settings > User > Keyboard.

If Collapsing Does Nothing

The collapse commands do nothing while Show outline controls is set to Never. That setting is in Settings > User > Notes, on the Outlining tab, and TheBrain keeps two separate values for it:

What Is Remembered

Collapsed headings, list items and callouts are remembered on the device you're using, so the note opens with them still collapsed next time (on the web, your browser remembers them). They aren't saved in the note or synced, so your other devices and the other people in a shared brain see the note as they left it. If the note was changed somewhere else in the meantime, a collapsed section that can't be found with confidence opens up rather than hiding the wrong part of the note.

  • Most formatting can also be produced by typing Markdown as you write — see Markdown in Notes.
  • The toolbar also holds Find and Replace (Ctrl+F, ⌘F on Mac), the Insert menu (image, embed thought note, table, date, horizontal rule, line break, mathematical expression, diagram, footnote, table of contents, with diagram and footnote only in brains that save standard Markdown), a Note Text Scale control, and Export / Print — printing isn't offered on phones and tablets, and exporting needs the installed TheBrain app on a computer, phone, or tablet (see Exporting and Printing Notes). Toolbar menus and button tooltips show each command's keyboard shortcut.
  • Move and duplicate lines — Move Line Up / Down (default Alt+↑ / Alt+↓, ⌥↑ / ⌥↓ on Mac) moves the current line or selection, and Duplicate Line Up / Down (default Alt+Shift+↑ / Alt+Shift+↓, ⌥⇧↑ / ⌥⇧↓ on Mac) copies it. Both work in the rich, Text, and Split views. In the rich editor's default Outliner list mode, list items carry their sub-items along (see Outline Lists); in the Text and Split views, they act only on the current line or the selected lines.
  • The note's right-click menu can also Copy as Markdown, Copy as HTML Source, or Copy as Plain Text (Ctrl+Shift+C, ⇧⌘C on Mac). The three Copy-as options appear when you hold Shift (⌥ on Mac) as you open the menu.

Related Topics