Tables
Fletcher T. Penney
fletcher at alumni.duke.edu
Tue Nov 15 14:15:43 EST 2005
I second this - the first option below would be much more difficult
to implement and change than the second option (I went with the
second option for MultiMarkdown)
Fletcher
On Nov 15, 2005, at 1:35 PM, Steve Hoelzer wrote:
>> If you go for it, I'd argue that the columns should still be denoted
>> by a single pipe instead of requiring doubles. Then a regular table
>> can be converted to one with colspans easier. Maybe double pipes mean
>> colspan?
>>
>> Eg.
>>
>> [ 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 |
>>
>
> Or, maybe indicate colspan just in the cells that should get colspan.
> Use multiple pipes at the right edges of cells that should be spanned.
>
> Eg.
>
> [ 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 realize that this puts extra characters for formatting, but I really
> like that the rest of the table looks exactly like a normal,
> non-colspanned table. It's also going to get pretty ugly when the cell
> needs to span, say, 7 columns.
>
> Just an idea. Hopefully someone can improve on it.
>
> Steve
> _______________________________________________
> Markdown-Discuss mailing list
> Markdown-Discuss at six.pairlist.net
> http://six.pairlist.net/mailman/listinfo/markdown-discuss
--
Fletcher T. Penney
fletcher at alumni.duke.edu
The covers of this book are too far apart.
- Ambrose Bierce (1842-1914)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3949 bytes
Desc: not available
Url : http://six.pairlist.net/pipermail/markdown-discuss/attachments/20051115/a4e7be9b/smime.bin
More information about the Markdown-Discuss
mailing list