| 1 |
{| |
| 2 |
| Foo |
| 3 |
| Bar |
| 4 |
|- |
| 5 |
| Baz |
| 6 |
| Foobar |
| 7 |
|} |
| 8 |
|
| 9 |
{| |
| 10 |
|Foo |
| 11 |
bar |
| 12 |
|
| 13 |
baz |
| 14 |
| |
| 15 |
''Foobar'' |
| 16 |
|} |
| 17 |
|
| 18 |
{| |
| 19 |
| Foo || Bar || Baz |
| 20 |
|- |
| 21 |
| Baz || Bar || Foo |
| 22 |
|} |
| 23 |
|
| 24 |
{| |
| 25 |
! style="text-align:left;"| Foo |
| 26 |
! Bar |
| 27 |
! Baz |
| 28 |
|- |
| 29 |
| foo |
| 30 |
| bar |
| 31 |
| baz |
| 32 |
|} |
| 33 |
|
| 34 |
{| |
| 35 |
! style="color:red;"| Foo !! style="color:blue;"| Bar !! Baz |
| 36 |
|- |
| 37 |
| foo || style="font-weight:bold;"| bar || baz |
| 38 |
|} |
| 39 |
|
| 40 |
---------------------------------------------------- |
| 41 |
|
| 42 |
[ |
| 43 |
["punctuation", "{|"], |
| 44 |
["punctuation", "|"], " Foo\r\n", |
| 45 |
["punctuation", "|"], " Bar\r\n", |
| 46 |
["punctuation", "|-"], |
| 47 |
["punctuation", "|"], " Baz\r\n", |
| 48 |
["punctuation", "|"], " Foobar\r\n", |
| 49 |
["punctuation", "|}"], |
| 50 |
|
| 51 |
["punctuation", "{|"], |
| 52 |
["punctuation", "|"], "Foo\r\nbar\r\n\r\nbaz\r\n", |
| 53 |
["punctuation", "|"], |
| 54 |
["emphasis", [["punctuation", "''"], ["italic", "Foobar"], ["punctuation", "''"]]], |
| 55 |
["punctuation", "|}"], |
| 56 |
|
| 57 |
["punctuation", "{|"], |
| 58 |
["punctuation", "|"], " Foo ", |
| 59 |
["punctuation", "||"], " Bar ", |
| 60 |
["punctuation", "||"], " Baz\r\n", |
| 61 |
["punctuation", "|-"], |
| 62 |
["punctuation", "|"], " Baz ", |
| 63 |
["punctuation", "||"], " Bar ", |
| 64 |
["punctuation", "||"], " Foo\r\n", |
| 65 |
["punctuation", "|}"], |
| 66 |
|
| 67 |
["punctuation", "{|"], |
| 68 |
["punctuation", "!"], |
| 69 |
["table-tag", [ |
| 70 |
["special-attr", [ |
| 71 |
["attr-name", "style"], |
| 72 |
["attr-value", [ |
| 73 |
["punctuation", "="], |
| 74 |
["punctuation", "\""], |
| 75 |
["value", [ |
| 76 |
["property", "text-align"], |
| 77 |
["punctuation", ":"], |
| 78 |
"left", |
| 79 |
["punctuation", ";"] |
| 80 |
]], |
| 81 |
["punctuation", "\""] |
| 82 |
]] |
| 83 |
]], |
| 84 |
["table-bar", "|"] |
| 85 |
]], " Foo\r\n", |
| 86 |
["punctuation", "!"], " Bar\r\n", |
| 87 |
["punctuation", "!"], " Baz\r\n", |
| 88 |
["punctuation", "|-"], |
| 89 |
["punctuation", "|"], " foo\r\n", |
| 90 |
["punctuation", "|"], " bar\r\n", |
| 91 |
["punctuation", "|"], " baz\r\n", |
| 92 |
["punctuation", "|}"], |
| 93 |
|
| 94 |
["punctuation", "{|"], |
| 95 |
["punctuation", "!"], |
| 96 |
["table-tag", [ |
| 97 |
["special-attr", [ |
| 98 |
["attr-name", "style"], |
| 99 |
["attr-value", [ |
| 100 |
["punctuation", "="], |
| 101 |
["punctuation", "\""], |
| 102 |
["value", [ |
| 103 |
["property", "color"], |
| 104 |
["punctuation", ":"], |
| 105 |
"red", |
| 106 |
["punctuation", ";"] |
| 107 |
]], |
| 108 |
["punctuation", "\""] |
| 109 |
]] |
| 110 |
]], |
| 111 |
["table-bar", "|"] |
| 112 |
]], " Foo ", |
| 113 |
["punctuation", "!!"], |
| 114 |
["table-tag", [ |
| 115 |
["special-attr", [ |
| 116 |
["attr-name", "style"], |
| 117 |
["attr-value", [ |
| 118 |
["punctuation", "="], |
| 119 |
["punctuation", "\""], |
| 120 |
["value", [ |
| 121 |
["property", "color"], |
| 122 |
["punctuation", ":"], |
| 123 |
"blue", |
| 124 |
["punctuation", ";"] |
| 125 |
]], |
| 126 |
["punctuation", "\""] |
| 127 |
]] |
| 128 |
]], |
| 129 |
["table-bar", "|"] |
| 130 |
]], " Bar ", |
| 131 |
["punctuation", "!!"], " Baz\r\n", |
| 132 |
["punctuation", "|-"], |
| 133 |
["punctuation", "|"], " foo ", |
| 134 |
["punctuation", "||"], |
| 135 |
["table-tag", [ |
| 136 |
["special-attr", [ |
| 137 |
["attr-name", "style"], |
| 138 |
["attr-value", [ |
| 139 |
["punctuation", "="], |
| 140 |
["punctuation", "\""], |
| 141 |
["value", [ |
| 142 |
["property", "font-weight"], |
| 143 |
["punctuation", ":"], |
| 144 |
"bold", |
| 145 |
["punctuation", ";"] |
| 146 |
]], |
| 147 |
["punctuation", "\""] |
| 148 |
]] |
| 149 |
]], |
| 150 |
["table-bar", "|"] |
| 151 |
]], " bar ", |
| 152 |
["punctuation", "||"], " baz\r\n", |
| 153 |
["punctuation", "|}"] |
| 154 |
] |
| 155 |
|
| 156 |
---------------------------------------------------- |
| 157 |
|
| 158 |
Checks for tables and cell attributes. |
| 159 |
Note: Markup is loaded before CSS so that inline styles are added into grammar. |