Skip to content

Table

Basic

Previous Document Format

Previous Document Format

Example

markdown
|               |                                          |
| ------------- | ---------------------------------------- |
| Default       | Split type consisting of one layout      |
| Horizontal    | Split type consisting of two **vertical** layouts |
| Vertical      | Split type consisting of two **horizontal** layouts |

WARNING

Even if there are no column headers, the format must be maintained.

Result
DefaultSplit type consisting of one layout
HorizontalSplit type consisting of two vertical layouts
VerticalSplit type consisting of two horizontal layouts

TIP

A table with column titles looks nice 👍

TIP

You can easily convert it to Markdown by copy/paste using Notion.

Sort

You can specify left/right/center alignment according to the position of : on the divider line (---) as follows.

Example

markdown
| Tables        |      Are      |  Cool |
| ------------- | :-----------: | ----: |
| col 3 is      | right-aligned | $1600 |
| col 2 is      |   centered    |   $12 |
| zebra stripes |   are neat    |    $1 |
Result
TablesAreCool
col 3 isright-aligned$1600
col 2 iscentered$12
zebra stripesare neat$1

TIP

If you need to specify each row, use HTML as shown below.

markdown
| Tables                                          |      Position      |  Cool |
| ----------------------------------------------- | :-----------: | ----: |
| <div style="text-align: end;">col 3 is</div>    | right-aligned | $1600 |
| <div style="text-align: center;">col 2 is</div> |   centered    |   $12 |
| zebra stripes                                   |   are neat    |    $1 |
TablesPositionCool
col 3 is
right-aligned$1600
col 2 is
centered$12
zebra stripesare neat$1

WARNING

Most Markdown can be used in tables, but in some cases it cannot be used.

:::