Tables
A table lines up details side by side: a packing list by person, a timetable, a comparison. You edit it like a grid, and behind the scenes it’s ordinary Markdown, so it exports cleanly and stays readable anywhere.
Insert a table
Choose Format › Table… or press ⌥⌘T. Varlig inserts a small table and puts you in its first cell, with Column 1 selected so you can type a heading straight away.
To edit a table that’s already in a note, click a cell.
Move around a table
While you’re typing in a cell:
| Key | What it does |
|---|---|
| Tab | Moves to the next cell. Past the last cell, it adds a row. |
| Shift-Tab | Moves to the previous cell. From the first cell, it returns to the note. |
| Return | Moves to the cell below. In the last row, it adds a row. |
| Escape or ⌘↩ | Returns to the note. |
| ⌘Z and ⇧⌘Z | Undo and redo, as anywhere in the note. |
Bold, italic, links (⌘K), note links (⌘D) and the date shortcuts work inside cells too.
Add and remove rows and columns
These shortcuts work while you’re typing in a cell:
| Action | Shortcut |
|---|---|
| Add a row below | ⌃⌘↓ |
| Add a column after | ⌃⌘→ |
| Delete the row | ⌃⌘⌫ |
| Delete the column | ⌃⇧⌘⌫ |
The header row and a table’s last remaining column can’t be deleted.
Right-click a cell for more: add a row above or below, add a column before or after, move rows up and down or columns left and right, set the column’s alignment, or copy the whole table as Markdown, CSV or HTML.
Tables in Markdown
A table is rows of cells separated by |, with a line of dashes under the header row. Colons in that line set each column’s alignment:
| Room | Paint | Tins |
| :------- | :-------: | ---: |
| Kitchen | Sage | 2 |
| Bedroom | Warm grey | 3 || Room | Paint | Tins |
|---|---|---|
| Kitchen | Sage | 2 |
| Bedroom | Warm grey | 3 |
| Separator | Alignment |
|---|---|
:--- |
Left |
:---: |
Centre |
---: |
Right |
--- |
Default |
You don’t need to line the | characters up; Varlig reads the table either way.