Markdown Table Formatter CLI
Build a command-line tool that reads raw tab- or comma-separated data and outputs a properly aligned Markdown table, useful for quickly generating README content. Learners practice string formatting, array manipulation, and building a small text-processing pipeline in Ruby.
- Estimate
- ~5h
- Steps
- 4
- Completed by
- 0
- Proposed by
- codeseed.app
Standard Library
Project roadmap
- 01
Parse delimited input
~1.5hRead input from a file or STDIN and split it into rows and columns based on a chosen delimiter.
- 02
Compute column widths
~1hCalculate the max width needed for each column so the output table aligns correctly.
- 03
Render the Markdown table
~1.5hGenerate the header separator row and pad each cell to produce valid, aligned Markdown table syntax.
- 04
Add CLI options
~1hSupport flags for delimiter choice and output file, with STDOUT as the default.
Resources
Ready to build this?
Get a GitHub repo and start building. Your AI reviewer checks each step as you go.
Tech stack