Skip to content

phoepsilonix/mdtable2csv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go release

mdtable2csv

Convert the markdown table to CSV.

Screenshot

Installation

If you use Homebrew, run the following:

$ brew tap 515hikaru/tap
$ brew install 515hikaru/tap/mdtable2csv

Or go get:

$ go get -u github.com/515hikaru/mdtable2csv

Usage

$ mdtable2csv
|foo|bar|boo|
|---|---|---|
|a|b|c|^D
foo,bar,boo
a,b,c

Of course, you can use standard input with |, for example:

$ cat foo.md
|foo|bar|boo|
|---|---|---|
| a | b | c |

$ cat foo.md | mdtable2csv
foo,bar,boo
a,b,c

See mdtable2csv -help for more details.

LICENSE

MIT

About

Convert markdown table to csv

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%