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

Peter Bowers pbowers at pobox.com
Mon Aug 25 15:26:38 CDT 2008

On Mon, Aug 25, 2008 at 4:56 PM, Peter Bowers <pbowers at pobox.com> wrote:
> IF this solution is acceptable (i.e., use the same markup but allow
> for other types of table text to be converted into this markup) then
> this idea could be fairly trivially expanded using a function that
> would parse the (:simpletable ...:) options, do the conversion, and
> replace the text right back into the text being edited...

Hmmm...  The word "trivial" was definitely an optimistic approach.
Anyway, after some headbanging it's working.

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
* 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)

Do note that this is NOT markup.  This provides ReplaceOnEdit patterns
which actually alter your markup.


More information about the pmwiki-users mailing list