Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 395 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 395 Bytes

mdfmt

Formats the tables in your Markdown documents. Usage: mdfmt [--in-place] [--strict] [input] [output]

Before:

| Column A | Column B |
| --- |:-:|
| Apple | Giant Octopus |
| Pear | Pointlessly long item |

After:

| Column A | Column B              |
|----------|:---------------------:|
| Apple    | Giant Octopus         |
| Pear     | Pointlessly long item |