A blank line after an open html tag allows block mode punctuation to be recognised
| title | Output |
- blank line after open tag allows
- block mode punctuation (i.e. this list) to
- be recognised
The open tag blank line "trick" also works inside of punctuation only recognised in inline mode (such as Formatting in WikiText):
A blank line after an open html tag allows block mode punctuation to be recognised even when the html is embedded within inline punctuation (bold here).
| title | Output |
Block mode punctuation is not recognised when HTML open tag is not followed by a blank line
| title | Output |
Tables in WikiText is one construct for which the open tag blank line "trick" cannot work. In order for the parser to recognise a table row, the entire row must be on a single line.
Adding a blank link after an open tag within a table cell causes the row to span mulitple lines and the parser ceases to be able to recognise it as a table row.
|table row|all on|one line|is recognised|That renders as:
| table row | all on | one line | is recognised |
A blank line after an open html tag cannot work when used inside table syntax since each row of a table must be all on one line
| title | Output |
|For a blank line after open tag|
- list is recognised
- but the surrounding table row is not
The only way to get block mode punctuation recognised in wikitext tables is to use $transclude with mode = block.
|Nested table:|<$transclude tiddler="table-example" mode=block/>|That renders as:
| Nested table: |
|
Note that $macrocall does not have a similar mode attribute and the content of macro definitions can only be parsed in inline mode
Unlike the table wiki syntax, the less convenient <table>, <tr>, <td> html tags can use a blank line
to get block mode punctuation regognised inside of table cells.
| title | Output |
|
|