This application convert markdown table to csv file.
brew tap jjuarez/mdtable2csv
brew install mdtable2csv
mdtable2csv convert {filePath} {delimiter(default ',')}
Examples
mdtable2csv convert example/markdown.md
mdtable2csv convert example/markdown.md ;
| Tables | Are | Cool |
| ------------- |:-------------:| -----:|
| col 3 is | right-aligned | $1600 |
| col 2 is | centered | $12 |
| zebra stripes | are neat | $1 |
Tables,Are,Cool
col 3 is,right-aligned,$1600
col 2 is,centered,$12
zebra stripes,are neat,$1
1 . Clone project on your machine
git clone git@github.com:jjuarez/mdtable2csv.git
2 . Change directory
cd mdtable2csv
3 . Build
go build .
4 . Run
./mdtable2csv convert example/markdown.md
go test ./cmd/
- Documentation
- Brew repository
- Test
- Argument helper
- Argument for trim option
- Argument for new file name
If you're having trouble getting this project running, feel free to open an issue