← 返回
未分类 中文

Markdown Table Generator

Generate, format, and manipulate Markdown tables with support for alignment, conversion from CSV/TSV, sorting, and transposition. Use when users need to crea...
生成、格式化和操作 Markdown 表格,支持对齐、CSV/TSV 转换、排序和转置,适用于需要创建...
terrycarter1985 terrycarter1985 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 222
下载
💾 0
安装
1
版本
#latest

概述

Markdown Table Generator

A comprehensive skill for working with Markdown tables, from quick generation to advanced formatting and manipulation.

Quick Start

Generate a Basic Table

For simple data, create a table directly:

| Header 1 | Header 2 | Header 3 |
|----------|----------|----------|
| Cell 1   | Cell 2   | Cell 3   |
| Cell 4   | Cell 5   | Cell 6   |

Generate from Data

When given raw data (CSV, TSV, or space-separated):

  1. Parse the input data
  2. Detect headers if present
  3. Determine column widths for proper alignment
  4. Generate a nicely formatted table

Example - CSV to Markdown Table:

Input:

Name,Age,City
Alice,30,New York
Bob,25,London
Charlie,35,Tokyo

Output:

| Name    | Age | City     |
|---------|-----|----------|
| Alice   | 30  | New York |
| Bob     | 25  | London   |
| Charlie | 35  | Tokyo    |

Alignment Options

Left Align (Default)

| Name    | Age | City     |
|:--------|:----|:---------|
| Alice   | 30  | New York |

Right Align

| Name    | Age |     City |
|--------:|----:|---------:|
| Alice   |  30 | New York |

Center Align

|  Name   | Age |   City   |
|:-------:|:---:|:--------:|
|  Alice  | 30  | New York |

Common Operations

Add a Row

Insert at any position; default to end of table.

Add a Column

Specify column name and position; default to end.

Remove a Row/Column

Specify by index, header name, or content match.

Sort Rows

Sort by a specific column in ascending or descending order.

Transpose Table

Convert rows to columns and columns to rows.

Best Practices

  1. Column Widths: Always pad cells so pipes align vertically for readability
  2. Headers: Keep headers descriptive and concise
  3. Empty Cells: Use   or leave empty for visual clarity
  4. Consistency: Use the same alignment style throughout a document
  5. Readability: Prefer left-aligned text, right-aligned numbers, centered short values

Conversion to Other Formats

When needed, convert Markdown tables to:

  • CSV
  • TSV
  • HTML
  • JSON array of objects
  • Always preserve data integrity during conversions.

    版本历史

    共 1 个版本

    • v1.0.0 当前
      2026-05-21 15:41 安全 安全

    安全检测

    腾讯云安全 (Keen)

    安全,无风险
    查看报告

    腾讯云安全 (Sanbu)

    安全,无风险
    查看报告

    🔗 相关推荐

    data-analysis

    Stock Price Alert

    terrycarter1985
    股价异动实时提醒,支持行情接口、邮件和Sonos语音播报
    ★ 0 📥 801
    dev-programming

    Github

    steipete
    使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
    ★ 687 📥 331,668
    dev-programming

    Mcporter

    steipete
    使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
    ★ 198 📥 68,349