Writing in a note

Guide

How to edit a note's body: the formats, the reading view and editor, and the helpers that work on text. The terms body, reading view, footer chip and context column are explained in the parts of the window. For anyone writing in the desktop app.

Formats

Each note has one format, chosen from right-click > Format: (see notebooks and the tree).

Format Use
markdown The default: headings, lists, tables, fenced code, checkboxes, images, quotes
plain Text shown as typed
todotxt The menu's name for todo.txt: a task list, one task per line; see Tasks
richtext Bold, italic, red and blue text, set with toolbar buttons while editing
code Syntax highlighted by file extension
recipe A list of steps, one per line, that burl checks and can run; see Recipes and templates

Fenced code blocks in markdown are highlighted too (Crystal, Python, SQL, Nix, shell, C and C++, CSS, Go, Rust, JavaScript and TypeScript, Java, HTML, XML and SVG).

Reading view and editor

A note opens in the reading view. Click in the text to place a caret there and start editing, or press Ctrl/Cmd+E. In the reading view a click gives a gray caret: arrows and Shift+arrows select, and Ctrl/Cmd+C copies the source text. Escape returns to the tree. The footer chip shows nav when the keys go to the tree and src when they go to the text.

Escape from the editor keeps your place. The caret stays where you left it, drawn dimmed in the reading view, and Ctrl/Cmd+E goes back to editing from there. A click places a new caret instead, and opening another note clears the kept one. When an assistant or another copy writes the note you are in, the caret stays on your line and that line stays where it was on screen. It also holds its height when the note is laid out again, as when you resize the window, change the font size, or sort a table.

The editor supports several carets: Ctrl/Cmd+D selects the current word, and each further press adds the next occurrence; Ctrl/Cmd+click adds a caret. Escape collapses to one caret. Tab and Shift+Tab indent and outdent selected lines.

Tables

A markdown table in a note is live while you read it. Above each table, a muted line shows its row count, a filter field, [ + row ] and [ + column ]. In a pane too narrow for them, the line keeps the count and drops the rest.

Sorting and filtering change only what is drawn, never the note's text, and both reset when you select another note. Choosing a total writes one HTML comment under the table that lists which totals are on; the totals themselves are never written. Adding, removing or moving a row or a column changes the note, each as one undo step, and Ctrl/Cmd+Z in the reading view takes back a column add, remove or move. These controls appear on a table at the top level of a markdown note.

Find in note, and Find

Ctrl/Cmd+F (Find in note) opens a bar over the note showing "k of n" matches. Enter and Shift+Enter step through them, Aa (Alt+C) toggles case, and all notes... hands the query to search.

Ctrl/Cmd+G opens Find (the F10 menu's name for it): type a title to jump to that note, #12 for note number 12, or :40 for line 40 of the open note.

Reflow

While editing a markdown note, the REFLOW section of the context column wraps the selected text, or the paragraph under the caret, to a column (72 by default) or unwraps it. Other formats have no REFLOW section.

Tab width and wrapping

Tab width (1 to 8) and wrapping (the window width, or 60, 80 or 100 columns) are settings; see settings and command line.

Spellcheck

With a dictionary available, right-click a word for suggestions or Add to dictionary. A word you add also passes with -s and -'s on the end, so adding burl covers burls and burl's; an irregular plural still has to be added on its own. The Dictionary (N) entry in the F10 menu lists the words you added so you can forget them. Without a dictionary, burl runs with no spellcheck.

Drop a file into a note

Drag a file onto the window. burl attaches it and writes ![name](name) into the note; see attachments.

Questions this page answers