xus1992 / zen-coding

Automatically exported from code.google.com/p/zen-coding
0 stars 0 forks source link

CSV wrapping. #311

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Feature Request

When select following lines.

  a1,b1,c1
  a2,b2,c2

And do wrap with abbreviation: table>tr>td|\csv
do CSV filter. Then:

  <table>
    <tr>
      <td>a1</td><td>b1</td><td>c1</td>
      <td>a2</td><td>b2</td><td>c2</td>
    </tr>
  </table>

How about this?

Original issue reported on code.google.com by mattn.jp on 12 Dec 2011 at 8:18

GoogleCodeExporter commented 9 years ago
Maybe. The problem I see are different separators for columns (tabs, columns, 
commas), there's need some kind of logic for separator detection

Original comment by serge....@gmail.com on 12 Dec 2011 at 10:25

GoogleCodeExporter commented 9 years ago
Yes, my expain are one of example. This will be useful to define own config to 
expand row/column.

Original comment by mattn.jp on 13 Dec 2011 at 12:20