详细分析 ▾
运行时依赖
安装命令
点击复制技能文档
📋 Markdown Table Maker
Author: Lin Hui | GitHub | MIT License | v1.0.0
Beautiful Markdown tables in seconds. 创建 from scratch, convert from CSV/JSON/TSV, align, 排序, merge, and transpose — all with pure Python.
✨ Features 创建 — Build tables from natural language descriptions Convert — CSV / JSON / TSV → Markdown table Align — Left / Center / Right column alignment 排序 — 排序 rows by any column (asc/desc) Transpose — Swap rows and columns Merge — Combine multiple tables side by side or stacked 格式化 — Pretty-print with consistent spacing 🚀 Usage 创建 a table 创建 a markdown table with columns: Name, Age, City. 添加 3 sample rows.
Convert CSV to Markdown Convert data.csv into a Markdown table and save as table.md.
Align columns 格式化 the markdown table in README.md with the Name column left-aligned, Age right-aligned, and City center-aligned.
排序 a table 排序 the markdown table by the Price column in descending order.
Transpose Transpose the markdown table (swap rows and columns).
⚙️ Technical DetAIls 运行time: Python 3.6+ Dependencies: Zero (stdlib only) 输入 格式化s: Markdown, CSV, JSON (array of objects), TSV 输出: GitHub-Flavored Markdown tables