Structured Text module with table support
A paragraph that has blocks of text enclosed in '||' is treated as a
table. The text blocks correspond to table cells and table rows are
denoted by newlines. By default the cells are center aligned. You can change the defaults
by modifying the CELL,ROW and TABLE class attributes in class Table.
A cell can span more than one column by preceding a block of text with an
equivalent number of cell separators '||'. Newlines and '|' cannot
be a part of the cell text. If you need newlines use <BR>. For example:
|||| **Ingredients** ||
|| *Name* || *Amount* ||
||Spam||10||
||Eggs||3||
is interpreted as::
Ingredients |
Name |
Amount |
Spam |
10 |
Eggs |
3 |
Download StructuredText.py
|