Tables

Mark Smith mark at bbprojects.net
Sun Dec 4 03:48:16 EST 2005


@ 23:13 on 3.12.05, Dr. Drang wrote:


>I could live with these rules:

>

>1. A "number" (however that gets defined) means decimal or

>comma alignment.

>

>2. Two or more spaces from each surrounding pipe means

>center alignment.

>

>3. Zero (ugh) or one space from the right pipe means right

>alignment.

>

>4. Anything else means left alignment.


FWIW: me too.

Question: for a single rule for 1. (above) would the easiest solution be based on centering the separator ? (From my naive position, this sounds like a "two pass" solution, but I guess that the decimal alignment itself wouldn't need to be coded from zero ?)

mark.


More information about the Markdown-Discuss mailing list