[pmwiki-users] Proposed markup for rowspan in simple tables

Peter Bowers pbowers at pobox.com
Tue Aug 26 00:57:26 CDT 2008

On Mon, Aug 25, 2008 at 10:26 PM, Peter Bowers <pbowers at pobox.com> wrote:
> You can see it at [[Cookbook/Text2Tbl]].  This is going to be most
> useful in 2 situations as I forsee:
> * for people who would like to compose their tables using some
> column-divider other than || (i.e. put multiple spaces to line up your
> columns visually or separate your columns with a semi-colon or
> something)
> * for data which is already structured but not in a wiki-table and you
> want to convert it to a wiki table (i.e., CSV or similar)

I realized my ROEPattern could conflict with a future markup, so I've
changed it to use "text2table" (or text2tbl) as in the following

(:text2table sep=, quotes=1 options="border=1":)
"Smith, John","123 Main St, Smallville, NC 12345",555-1212
John Smith,123 Main St,555-1212
"Smith, Jane","111 Small St, Mainville, NY 11122",(212) 123-4321

which will result in

|| border=1
||!Name ||!Address ||!Phone ||
||Smith, John ||123 Main St, Smallville, NC 12345 ||555-1212 ||
||John Smith ||123 Main St ||555-1212 ||
||Smith, Jane ||111 Small St, Mainville, NY 11122 ||(212) 123-4321 ||

This recipe is found at http://www.pmwiki.org/wiki/Cookbook/Text2Tbl.



More information about the pmwiki-users mailing list