Tables

Michel Fortin michel.fortin at michelf.com
Tue Nov 15 07:32:54 EST 2005


Le 2005-11-14 à 18:10, Fletcher T. Penney a écrit :


> for my implementation and download. It takes PME's syntax and adds

> multiple header row's and colspans, as well as captions (thanks to

> Robert McGonegal for the caption suggestion).


I've thought of some additions to the table syntax. This one has a
caption and row headers on the left.

[ Table 1: A simple table ]

| | Beans | Peas |
| | ----- | ----- |
| Wholesale | $1.00 | $1.25 |
| Retail | $2.00 | $3.00 |

And this one has two rows of header and some colspan in action.

[ Table 2: Test of a complex table ]

|| || Imported || Domestic ||
|| || Beans | Peas || Carrots | Tomatoes ||
|| || ----- | ----- || ------- | -------- ||
|| Wholesale || $1.00 | $1.25 || $1.20 | $1.20 ||
|| Retail || $2.00 | $3.00 || $1.80 | $1.80 ||

I'm just not sure about the caption syntax (which could also be put
at the bottom) and how to best align text in cells that span on two
columns.


Michel Fortin
michel.fortin at michelf.com
http://www.michelf.com/




More information about the Markdown-Discuss mailing list