Menu

Commit [r9064]  Maximize  Restore  History

WikiFormatting: add new built-in processors `#!td` and `#!th` for creating cells with multiline content and specifying additional attributes, like colspan or rowspan.

A table cell specified that way belong to the previous row, so for terminating a row consisting of only "block" cells, a single `||` on a line is needed.

Example:
{{{

{{{
#!th
- some header
}}}
{{{
#!th
- another header
- with more rows
}}}
||
{{{
#!td rowspan=2

Arbitrarily big content (even an embedded table of course):
|| A || B ||
}}}
{{{
#!td

Second cell, first row
}}}
||
{{{
#!td

Second cell, second row...
}}}

}}}

cboos 2010-01-24

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