Closed reagle closed 11 years ago
Thanks for feedback.
Simple Tables and Multiline Tables doesn't supported by TableEditor. Simple/Multiline tables is really simple for typing, but complicated to recognize by Sublime without make syntax file.
Grid tables works , but Table Editor documentation was not correct, because (as I understood) for Pandoc Grid Tables lines should be divided by separator and header should be divided by double separator. I updated documentation and now example from documentation works
+-----------+-----+
| Name | Age |
+===========+=====+
| Anna | 20 |
+-----------+-----+
| Alexander | 27 |
+-----------+-----+
For typing above example try to use "Ctrl+k, - ", "Ctrl+k, =", also try typing "+- tab" , "+= tab" at the begin of new line.
Table Editor also supports Pandoc Pipe tables , but for now you have to switch to MultiMarkdown table syntax if you like use alignment feature.
| Right | Left | Default | Center |
| ----: | :--- | ------- | :----: |
| 12 | 12 | 12 | 12 |
| 123 | 123 | 123 | 123 |
| 1 | 1 | 1 | 1 |
Thanks!
Thank you for the documentation fix and the great package!
The supposed pandoc/grid type does not correspond to any of the actual pandoc table types: simple, multiline, or grid. If the given in the example is run through pandoc, Anna and Alexander would be in the same cell, as would 20 and 27. Simple types have no vertical bars and grids require a line to seperate rows.
http://johnmacfarlane.net/pandoc/README.html#tables