Blame view

bower_components/prism/tests/languages/asciidoc/table_feature.test 1.74 KB
f748e9cf   Luigi Serra   new controllet an...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
  |===

  |1

  |===

  

  |============================

  |1 >s|2 |3 |4

  ^|5 2.2+^.^|6 .3+<.>m|7

  2*^|8

  |9 2+>|10

  |============================

  

  |==============================================

  |Normal cell

  

  |Cell with nested table

  

  !==============================================

  !Nested table cell 1 !Nested table cell 2

  !==============================================

  

  |==============================================

  

  ----------------------------------------------------

  

  [

  	["table", [

  		["punctuation", "|==="],

  		["punctuation", "|"], "1\r\n",

  		["punctuation", "|==="]

  	]],

  

  	["table", [

  		["punctuation", "|============================"],

  		["punctuation", "|"], "1 ",

  		["specifiers", ">s"], ["punctuation", "|"], "2 ",

  		["punctuation", "|"], "3 ",

  		["punctuation", "|"], "4\r\n",

  		["specifiers", "^"], ["punctuation", "|"], "5 ",

  		["specifiers", "2.2+^.^"], ["punctuation", "|"], "6 ",

  		["specifiers", ".3+<.>m"], ["punctuation", "|"], "7\r\n",

  		["specifiers", "2*^"], ["punctuation", "|"], "8\r\n",

  		["punctuation", "|"], "9 ",

  		["specifiers", "2+>"], ["punctuation", "|"], "10\r\n",

  		["punctuation", "|============================"]

  	]],

  

  	["table", [

  		["punctuation", "|=============================================="],

  		["punctuation", "|"], "Normal cell\r\n\r\n",

  		["punctuation", "|"], "Cell with nested table\r\n\r\n",

  		["punctuation", "!=============================================="],

  		["punctuation", "!"], "Nested table cell 1 ",

  		["punctuation", "!"], "Nested table cell 2\r\n",

  		["punctuation", "!=============================================="],

  		["punctuation", "|=============================================="]

  	]]

  ]

  

  ----------------------------------------------------

  

  Checks for tables.