Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dbrockman/reformat-markdown-table
Reformat and align markdown tables
https://github.com/dbrockman/reformat-markdown-table
Last synced: 7 days ago
JSON representation
Reformat and align markdown tables
- Host: GitHub
- URL: https://github.com/dbrockman/reformat-markdown-table
- Owner: dbrockman
- License: mit
- Created: 2014-09-20T12:36:11.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-04-28T13:38:06.000Z (7 months ago)
- Last Synced: 2024-11-01T12:02:55.464Z (12 days ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 7
- Watchers: 1
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# reformat-markdown-table
[![Version](http://img.shields.io/npm/v/reformat-markdown-table.svg?style=flat)](https://www.npmjs.org/package/reformat-markdown-table)
[![Build Status](https://img.shields.io/travis/dbrockman/reformat-markdown-table/master.svg?style=flat)](https://travis-ci.org/dbrockman/reformat-markdown-table)
[![Coverage Status](http://img.shields.io/coveralls/dbrockman/reformat-markdown-table.svg?style=flat)](https://coveralls.io/r/dbrockman/reformat-markdown-table?branch=master)
[![Dependency Status](https://david-dm.org/dbrockman/reformat-markdown-table.svg?style=flat)](https://david-dm.org/dbrockman/reformat-markdown-table)
[![devDependency Status](https://david-dm.org/dbrockman/reformat-markdown-table/dev-status.svg?style=flat)](https://david-dm.org/dbrockman/reformat-markdown-table#info=devDependencies)Reformat and align markdown tables
Takes a markdown string from `stdin` and outputs a formated string to `stdout`.
### Example
```
sudo npm i -g reformat-markdown-table# copy a markdown table to the clipboard
pbpaste | reformat-markdown-table | pbcopy
# paste the table back into the markdown doc
```