Skip to content
Convert markdown table to csv
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
.gitignore
LICENSE
README.md
go.mod
go.sum
main.go
main_test.go

README.md

mdtable2csv

Convert markdown table to csv.

Screen shot

Installation

$ 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

LICENSE

MIT

You can’t perform that action at this time.