List to Table

approved

by kepano

This plugin has not been manually reviewed by Obsidian staff. Convert lists to tables with a simple command.

12 stars38 downloadsUpdated 4d agoMIT

A 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

  1. Select text containing a list
  2. Open the command palette (Ctrl/Cmd + P)
  3. 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 |

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.