Skip to content
World Note

Tables and infoboxes

A Table or an Infobox is edited while it stays drawn in the document. An Infobox is a card that sums up names and values, like the summary box on a wiki. Clicking a cell opens an input field in that cell alone, and the other cells stay drawn. The raw markdown shows only when you choose Edit as Markdown from the menu.

On a Mac, press ⌘ instead of Ctrl.

Tables and infoboxes are inserted from three places.

ElementWhat it does
Format toolbarPress the Table or Infobox button.
Right-click menuChoose Table or Infobox under Insert.
/ menuType / at the start of a line and choose Table or Infobox.

A new table has two columns, with one header row and one body row, and the first cell of the header row opens. A new infobox has a title and one empty row, and it opens with the title selected so you can type right away. If you insert an infobox with text selected, the first line of the selection becomes the title. The lines from the second one on stay below the infobox as they are.

Inserted on a line that holds text, it goes below that line. Blank lines keep it apart from the text above and below. A table or infobox pasted into the body also goes on lines of its own, not inside a paragraph.

When the arrow keys reach a table or infobox from the body, the nearest cell opens.

Click a cell to open an input field in it. In an open cell you can use the format toolbar’s Bold, Italic, Strikethrough, Inline Code, and Link, and their shortcuts. Type [[ to get document link autocomplete. Links in a cell open when clicked. A picture written like ![[picture.png|40]] shows at that size.

A table being edited has the caret in an open cell and the buttons that add rows and columns along its edges.

KeyWhat it does
TabMoves to the next cell and selects its text. In the last cell, adds a row below.
Shift+TabMoves to the previous cell.
EnterMoves to the cell below. In the last row it adds a row, and in an empty last row it removes that row and leaves the table.
Ctrl+EnterAdds a row below the current row.
Shift+EnterStarts a new line inside the cell.
ArrowsAt the end of the text, moves to the cell in that direction. ← and → go on from the end of a row to the previous or next row. Pressing ↑ in the first row, ↓ in the last row, ← in the table’s first cell, or → in its last cell leaves the table.
EscLeaves to the line below the table.
BackspaceIn an empty cell, moves to the previous cell. If a whole body row is empty, removes that row.
Ctrl+AEach press widens the selection: the cell’s text, then every cell, then the whole table.

Hover over a table and + strips appear along its bottom and right edges. Click the bottom strip (Add row) to add a row at the bottom. Click the right strip (Add column) to add a column at the far right. The first cell of the new row or column opens. To add one somewhere else, use the table menu.

Right-click a cell to open the table menu. Cells of the header row have no Insert row above or Delete row.

ElementWhat it does
Insert row above, Insert row belowAdds an empty row above or below the clicked cell.
Insert column left, Insert column rightAdds an empty column to the left or right of the clicked cell.
Delete rowDeletes the clicked cell’s row.
Delete columnDeletes the clicked cell’s column. A table’s only column cannot be deleted.
MoveMoves with Row up, Row down, Column left, and Column right.
AlignApplies Align left, Align center, or Align right to that column.
Copy tableCopies the whole table as a markdown table and an HTML table together. In apps that take rich text, it pastes as a table.
Edit as MarkdownShows the raw markdown in place of the table. When the cursor leaves the table’s lines, it is drawn as a table again.
Delete tableDeletes the table.

Drag across several cells to select them, or Shift+click another cell while a cell is open. Pressing Shift+arrow at the end of a cell’s text also widens the selection.

KeyWhat it does
Delete, BackspaceClears the contents of the selected cells.
Ctrl+C, Ctrl+XCopies or cuts the selected cells.
Ctrl+VText from a single cell goes into every selected cell, and a table of several cells fills in from the top left cell of the selection.
Ctrl+B, Ctrl+IApplies the formatting to every cell that holds text. If every cell already has it, removes it. The toolbar’s Strikethrough and Inline Code work the same way.
TypingClears the selection and replaces the open cell’s text.
Esc, EnterClears the selection and returns to the open cell.
Tab, Shift+TabClears the selection and moves from the open cell to the next or previous cell.
ArrowsClears the selection and moves from the open cell to the cell in that direction.

Right-click the selected cells and the top of the menu shows Copy, Cut, Clear contents, Delete selected rows (N), Delete selected columns (N), and Align, with Copy table, Edit as Markdown, and Delete table below them.

Copied cells become a markdown table whose first row is the header row. An HTML table is copied along with it. In apps that take rich text, it pastes as a table.

Paste a table of several cells into a cell and it fills in from that cell, adding any rows and columns it needs. The pasted cells stay selected. You can paste markdown tables, tables copied from a spreadsheet or a web page, and copied infobox rows.

Hover over a table and a grip appears at its top right. Hovering over the grip shows Click to select, drag to move.

ActionWhat it does
ClickSelects the whole table. A selected table is deleted with Delete, and it can be copied or cut.
DragMoves the table to another spot. A line shows where it will be dropped.
Right-clickOpens a menu with Copy table, Edit as Markdown, and Delete table.

An infobox is written in one of two forms, and both show as the same card. Inserting one from the format toolbar, the right-click menu, or the / menu writes the Obsidian form.

An infobox card in a document has a title, an image and four rows.

The Obsidian form uses Obsidian’s callout syntax (> [!infobox]): a markdown table goes inside a callout of the infobox type.

> [!infobox] Aurel Empire
> | | |
> | --- | --- |
> | Capital | Aurelia |
> | Population | 50 million |
LineWhat it does
> [!infobox] titleThe title at the top of the card. If the title is left empty, the first # heading inside the callout becomes the card’s title.
The table’s header rowShows as the card’s header row. If it is empty, it does not appear.
The table’s body rowsThe first cell becomes the name, and the rest the value.
# headingA # heading after the card’s title becomes a section row that divides the card.
A line holding only a pictureShows as a picture in the card.
Other textTakes a whole line without splitting it into cells.

The World Note form puts [infobox] and [/infobox] each on a line of its own, with one entry per line between them.

[infobox]
|+ Aurel Empire
| Capital | Aurelia
| Population | 50 million
| Founded | 412, Third Dynasty
[/infobox]
LineWhat it does
|+ titleThe title at the top of the card. It is optional, and if written more than once only the first is the title.
| name | valueMakes one row from a name and a value.
| textTakes a whole line without splitting it into cells.
A line holding only a pictureShows as a picture in the card.

In the World Note form a value may contain a vertical bar. Only the first two vertical bars on a line are read as cell separators, and the rest belongs to the value.

Both forms are saved in the document file as plain text. If you open the file in another markdown editor, the content stays as it is.

Click a title, a name, or a value to open an input field in that cell alone. Empty cells show Title, Name, and Value in faded text. Formatting, links, and pictures apply and show the same way as in table cells.

KeyWhat it does
TabMoves to the next cell, in the order title, name, value, next row. In the last cell, adds a row below.
Shift+TabMoves to the previous cell.
EnterMoves from the title to the first row, from a name to the value in the same row, and from a value to the next row. In the last row it adds a row, and in an empty last row it removes that row and leaves the card.
Ctrl+EnterAdds a row below the current row. Pressed in the title, adds one at the bottom.
Shift+EnterStarts a new line in a name or value of an Obsidian-form card.
ArrowsAt the end of the text, moves to the neighboring cell or to the row above or below, and leaves the card at its edge.
EscLeaves to the line below the card.
BackspaceIn an empty cell, moves to the previous cell. Pressed in the name of an empty row, removes that row.
Ctrl+AEach press widens the selection: the cell’s text, then every row, then the whole card.

Paste or drop a picture on the card to add a picture row below the title.

Hover over a card and a + (Add row) appears at its bottom. Click it to add an empty row at the bottom and open its name.

Right-click a row’s name or value to open the infobox menu. Right-clicking the title, the header row, a section row, a picture row, or an empty part of the card shows Add row instead of the items that work on a row.

ElementWhat it does
Insert row above, Insert row belowAdds an empty row above or below the clicked row.
Delete rowDeletes the clicked row.
Move up, Move downMoves the clicked row one step.
Add rowAdds an empty row at the bottom.
Copy infoboxCopies the card’s raw markdown.
Copy as textCopies text made of the title and lines in the form name: value. Use it to paste somewhere that cannot read markdown tables.
Edit as MarkdownShows the raw markdown in place of the card. When the cursor leaves the card’s lines, it is drawn as a card again.
Delete infoboxDeletes the card.

Drag across several rows to select them, or Shift+click another row while a cell is open. Pressing Shift+↑ or Shift+↓ on the first or last line of a cell also widens the selection. The title can be selected along with the rows.

KeyWhat it does
Delete, BackspaceDeletes the selected rows.
Ctrl+C, Ctrl+XCopies or cuts the selected rows as a name | value markdown table. With the title selected too, they are copied as an infobox, and pasting them makes an infobox.
Ctrl+B, Ctrl+IApplies the formatting to every title, name, and value that holds text in the selected rows. If all of them already have it, removes it. The toolbar’s Strikethrough and Inline Code work the same way.
TypingClears the selection and replaces the open cell’s text.
Esc, EnterClears the selection and returns to the open cell.
Tab, Shift+TabClears the selection and moves from the open cell to the next or previous cell.
ArrowsClears the selection and moves from the open cell to the neighboring cell or to the row above or below.

Right-click the selected rows and the top of the menu shows Copy, Cut, and Delete selected rows (N).

Paste a markdown table, a table copied from a spreadsheet or a web page, or copied infobox rows into a cell, and they go in as rows below that cell. If the row holding that cell is empty, they take that row’s place.

Hover over a card and the same grip as on a table appears at its top right.

ActionWhat it does
ClickSelects the whole card. A selected card is deleted with Delete, and it can be copied or cut.
DragMoves the card to another spot.
Right-clickOpens the infobox menu.