There are two ways to enter the Table Editing Mode:
Enter a pipe | on a new line to start creating a table (On your keyboard: shift + \). You will immediately see the editing tool bar at the top changes, which means you are now in the Table Editing Mode.
If you move your cursor into an existing table, you will also see your editing tool bar changes.
Table editing toolbar
Now that you're in the Table Editing Mode, let's see how to use the table editing toolbar.
With the keyboard shortcut enabled, cells would be automatically aligned. As a result, overflow could happen when a cell content is too long for the editor area width:
If you are using Mac, use Command instead of Ctrl, and Return in place of Enter.
Basic commands
Command
Description
Keymap
Next Cell
Move to the next cell
Tab
Previous Cell
Move to the previous cell
Shift-Tab
Next Row
Move to the next row
Enter
Escape
Escape from the table
Ctrl-enter
Move focus
Command
Description
Keymap
Move Left
Move focus left
Ctrl-Left
Move Right
Move focus right
Ctrl-Right
Move Up
Move focus up
Ctrl-Up
Move Down
Move focus down
Ctrl-Down
Alignment
Command
Description
Keymap
Align Left
Align a column left
Shift-Ctrl-Left
Align Right
Align a column right
Shift-Ctrl-Right
Align Center
Align a column center
Shift-Ctrl-Up
Align None
Unset alignment
Shift-Ctrl-Down
Row/column operations
Command
Description
Keymap
Insert Row
Insert an empty row
Ctrl-K Ctrl-I
Delete Row
Delete a row
Ctrl-L Ctrl-I
Insert Column
Insert an empty column
Ctrl-K Ctrl-J
Delete Column
Delete a column
Ctrl-L Ctrl-J
Move Row Up
Move a row up
Alt-Shift-Ctrl-Up
Move Row Down
Move a row down
Alt-Shift-Ctrl-Down
Move Column Left
Move a column left
Alt-Shift-Ctrl-Left
Move Column Right
Move a column right
Alt-Shift-Ctrl-Right
Credits
HackMD table editing feature was released in version 1.10. Special thanks to the open source module markdown-table-editor kernel created by susisu, who has been essential to the implementation of this feature.