guntrip / table-magic

Converts between CSV, HTML and Markdown. Has a little form editor and a preview.
http://stevecat.net/table-magic/
MIT License
423 stars 38 forks source link

Make table-magic understand SQL #20

Closed guntrip closed 8 years ago

guntrip commented 8 years ago

This adds an "SQL" tab to table-magic, this allows it to interpret the tables produced by MySQL's command line interface. For example:

+------+-------+-------+
| Item | Value | Count |
+------+-------+-------+
| Ham  | 6     | 20.00 |
| Spam | 2     | 6.40  |
| Eggs | 12    | 2.00  |
+------+-------+-------+

Can become:

Item Value Count
Ham 6 20.00
Spam 2 6.40
Eggs 12 2.00