Table Block
The Table block lets you present data in a structured, tabular format. Tables support rich text in cells, header styling, and several display options.
Default table
Section titled “Default table”A new Table block starts as a 3x3 grid with the header row enabled.
Editing cells
Section titled “Editing cells”Click any cell to edit its content. Cells support rich text formatting including bold, italic, lists, blockquotes, code, and links.
Adding and removing rows and columns
Section titled “Adding and removing rows and columns”- Add a row - hover over a row and click the ”+” button to insert a row below
- Remove a row - hover over a row and click the delete button
- Add a column - click the ”+” button in the column controls to insert a column to the right
- Remove a column - click the delete button in the column controls
Tables require at least one row and one column.
Cell alignment
Section titled “Cell alignment”Select one or more cells and set their text alignment to left, center, or right.
Display options
Section titled “Display options”Header row and column
Section titled “Header row and column”- Header row (on by default) - styles the first row as a header with a darker background
- Header column - styles the first column as a header
Border style
Section titled “Border style”| Style | Description |
|---|---|
| All | Borders on all cells (default) |
| Horizontal | Only horizontal lines between rows |
| Outer | Border around the table perimeter only |
| None | No borders |
Row striping
Section titled “Row striping”| Option | Description |
|---|---|
| None | No striping (default) |
| Even | Alternating background on even rows |
| Odd | Alternating background on odd rows |
Pasting from spreadsheets
Section titled “Pasting from spreadsheets”You can paste tab-separated data from Excel or Google Sheets directly into a table. Slate automatically detects the format and creates the appropriate rows and columns.