List to Table

by kepano
5
4
3
2
1
Score: 35/100
New Plugin

Description

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

Reviews

No reviews yet.

Stats

stars
downloads
0
forks
0
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

Invalid date

Changelog

README file from

Github

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 |