Easily create Markdown tables of already structured text
Features
Create a table reading rows first
- Select your table data (each new line is one cell in the table corresponding left to right / rows)
- Use
Ctrl+Shift+P to bring up the Command Palette
- Type
Markdown create table and confirm
- Enter the number of columns, confirm
- You should see your formatted table
Create a table reading columns first
- Select your table data (each new line is one cell in the table corresponding top to bottom / columns)
- Use
Ctrl+Shift+P to bring up the Command Palette
- Type
Markdown create table and confirm
- Enter the number of columns, confirm
- You should see your formatted table
Concatenate tables
- Select your tables separated by LineFeeds
- Use
Ctrl+Shift+P to bring up the Command Palette
- Type
Markdown concatenate tables and confirm
- You should see your tables merged into one.
Concatenate tables in reverse order
- Select your tables separated by LineFeeds
- Use
Ctrl+Shift+P to bring up the Command Palette
- Type
Markdown concatenate tables in reverse order and confirm
- You should see your tables merged into one, but in reversed order.
Local development
Prerequisites
Commands
Install needed packages
yarn install
Run tests
yarn run test
Press F5 to open a new window with the extension loaded and all others disabled.
Known Issues
- Error management could be improved.
- If you want empty table cells during
create table, you should use a special string and replace it afterwards.
- Only
:--- is supported at the moment
- Linefeed is
\n at the moment, no \r\n support.
Contribute
Have a look at Known Issues or raise your own.
This is my first public open source project, so I appreciate hints and help!
| |