Comment #1 on issue 46 by eforgeot: CSV table with header
http://code.google.com/p/txt2tags/issues/detail?id=46
I think it should be more common to use a header for the first line. In the
case someone don't want this, there could be an option like "txt2tags
--no-csv-header file.t2t" but it would do it for the whole document.
Otherwise there could be something like:
%!csv(html): foo.csv
%!csv-no-header(html): foo.csv
I thought also one could include the header mark in csv file, like this:
|title1, title2
value1, value2
but it doesn't work in the current version, it just adds the | in the
table, because of the space before %s in the line: table.append('| %s
|' % ' | '.join(row))
If we remove the space, there will be an extra | before every line (but the
header will be displayed as such)
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
txt2tags-list mailing list
https://lists.sourceforge.net/lists/listinfo/txt2tags-list