1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-21 19:59:42 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/testcases/HTML/BlockModeInHTMLTable.tid
btheado feec6ef18f
Use testcase tiddlers for html examples (#8376)
* Convert several html examples into testcase tiddlers

* Convert html table exmaple into testcase tiddler
2024-09-10 11:48:14 +01:00

30 lines
718 B
Plaintext

created: 20240713164810184
description: Block mode for table cells
modified: 20240713164810184
tags: $:/tags/wiki-test-spec
title: TestCases/HTML/BlockModeInHTMLTable
type: text/vnd.tiddlywiki-multiple
title: Narrative
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
<table>
<tr><td>
* list item one
* list item two
</td><td>
|nested|table|
</td></tr>
</table>
+
title: ExpectedResult
<p><table>
<tr><td><ul><li>list item one</li><li>list item two</li></ul></td><td><table><tbody><tr class="evenRow"><td>nested</td><td>table</td></tr></tbody></table></td></tr>
</table></p>