Block rule for Wikidot pipe-syntax tables.
Wikidot tables are written using || delimiters at the start of a line:
||
|| Cell 1 || Cell 2 |||| Cell 3 || Cell 4 || Copy
|| Cell 1 || Cell 2 |||| Cell 3 || Cell 4 ||
Cell variants:
<td>
||~
<th>
||<
||>
||=
Colspan is achieved by using multiple consecutive || before content: |||| = colspan 2, |||||| = colspan 3, etc.
||||
||||||
Key Wikidot behaviour:
The table element carries _source: "pipe" in its attributes to distinguish it from block-syntax tables ([[table]]).
_source: "pipe"
[[table]]
Block rule for Wikidot pipe-syntax tables.
Wikidot tables are written using
||delimiters at the start of a line:Cell variants:
||-- normal cell (<td>)||~-- header cell (<th>)||<-- left-aligned cell||>-- right-aligned cell (TABLE_RIGHT)||=-- center-aligned cellColspan is achieved by using multiple consecutive
||before content:||||= colspan 2,||||||= colspan 3, etc.Key Wikidot behaviour:
||(or variant). Unterminated cells (reaching end of line without a closing||) are discarded.The table element carries
_source: "pipe"in its attributes to distinguish it from block-syntax tables ([[table]]).