#table #markdown-tables #format #column #document #output

app mdfmt

Simple tool to format markdown tables

1 stable release

1.0.0 Jun 16, 2021

#20 in #markdown-tables

MIT license

12KB
262 lines

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 |

Dependencies

~425KB