Menu

Commit [r9005]  Maximize  Restore  History

WikiFormatting: make it possible to control the alignment of the content in table cells.

If the content sticks to the left border of the cell, and only to the left, then the cell will be left aligned. Conversely for the right side. If the content sticks to both sides or doesn't stick, then no cell alignment will be specified (CSS default will apply).

Example:
{{{
||align left ||default alignment|| default alignment || align right||
}}}
Useful for number columns, which can be right-aligned quite naturally.

cboos 2010-01-06

changed /trunk/trac/wiki/formatter.py
changed /trunk/trac/wiki/tests/wiki-tests.txt
/trunk/trac/wiki/formatter.py Diff Switch to side-by-side view
Loading...
/trunk/trac/wiki/tests/wiki-tests.txt Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB