README file from
GithubA simple Obsidian plugin that converts selected lists into Markdown tables.
Features
- Convert any type of list to a single-column table
- Convert a nested list to a table with nested items arranged as rows
- Convert a nested list to a table with nested items arranged as columns
- Supports bullet lists (
-,*,+) - Supports task lists (
- [ ],- [x]) - Supports numbered lists (
1.,2., etc.)
Usage
- Select text containing a list
- Open the command palette (Ctrl/Cmd + P)
- Run one of the commands below
Example
Given this selection:
- Fruit
- apple
- banana
- Color
- red
- yellow
Convert to table with single column
Flattens the list into a single-column table.
| |
| -------- |
| Fruit |
| apple |
| banana |
| Color |
| red |
| yellow |
Convert to table with nested items as rows
Top-level items become column headers; nested items fill the rows below.
| Fruit | Color |
| -------- | -------- |
| apple | red |
| banana | yellow |
Convert to table with nested items as columns
Top-level items become row labels; nested items fill the cells across that row.
| | | |
| -------- | -------- | -------- |
| Fruit | apple | banana |
| Color | red | yellow |