Table

As you type

⌃⌘/ action

Premium

Select rows split by commas or tabs, then /table in ⌃⌘/, for a Markdown table, or one lined up in plain text for chat. /untable gives CSV back.

In use

In code
Slack update

Select it, then ⌃⌘/ and /table

Name, Role, Starts Ana, Designer, Mon Ben, Engineer, 2 Nov

You get

| Name | Role | Starts | |------|----------|--------| | Ana | Designer | Mon | | Ben | Engineer | 2 Nov |

In code
README.md

Select it, then ⌃⌘/ and /table

## Prices Item Qty Price Tea 2 £2.50 Cake 1 £13.10 Prices include VAT.

You get

## Prices | Item | Qty | Price | |------|----:|-------:| | Tea | 2 | £2.50 | | Cake | 1 | £13.10 | Prices include VAT.

In code
team.csv

Select it, then ⌃⌘/ and /untable

| Name | Role | Starts | |------|----------|--------| | Ana | Designer | Mon | | Ben | Engineer | 2 Nov |

You get

Name,Role,Starts Ana,Designer,Mon Ben,Engineer,2 Nov

Rows copied from a spreadsheet keep their tabs, and /table reads them too. Options line the columns up in plain text for a chat instead, and say whether the first row is the header.

Also try

  • /table Name, Role; Ana, Designer; Ben, Engineer
  • /table Item, Price; Tea, 2.50; Cake, 13.10
  • /untable | Ana | Designer | Mon |
  • /untable Ana Designer Mon
How you reach it
⌃⌘/ on a selection
Network
None. It works on your Mac.
Version
1.0.0, by Little Keebo