A Sublime Text 3 plugin for converting CSV-like text to other readable table formats in place. The converter internal is a fork from jaredyam/csv-converter.
Clone the repository in your Sublime Text "Packages" directory:
git clone https://github.com/jaredyam/table-generator.gite.g. the "Packages" directory on macOS is located at:
~/Library/Application Support/Sublime Text 3/Packages/Then execute install.sh script for downloading the dependent package:
$ sh install.sh- Select a target area covering the CSV-like text. If there is no selection, all text in the current view will be regarded as the raw data;
- Press
ctrl/cmd + shift + Pto bring up thecommand palette; - Enter
Table Generatorinto thecommand palette; - Select a specific converter and press
Enter; - Enter the alignment in the
command palette, e.g. assignclrto a 3-column table, wherecis forcenter-aligned, and similarlylis forleft-aligned,ris forright-aligned.
| Command | Caption In Command Palette |
|---|---|
plain_table_generator |
Table Generator: generate plain table |
markdown_table_generator |
Table Generator: generate markdown table |
latex_table_generator |
Table Generator: generate latex table |
