PageRenderTime 29ms CodeModel.GetById 24ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/test/target/ok/table.pmw

http://txt2tags.googlecode.com/
Unknown | 135 lines | 91 code | 44 blank | 0 comment | 0 complexity | 91e7ec8f0f4a31631d6fd2fd83dd3224 MD5 | raw file
  1
  2
  3
  4
  5! Simple table 
  6
  7||Cell 1-1 ||Cell 1-2 ||Cell 1-3||
  8||Cell 2-1 ||Cell 2-2 ||Cell 2-3||
  9||Cell 3-1 ||Cell 3-2 ||Cell 3-3||
 10
 11! Simple table + border 
 12
 13||Cell 1-1 ||Cell 1-2 ||Cell 1-3||
 14||Cell 2-1 ||Cell 2-2 ||Cell 2-3||
 15||Cell 3-1 ||Cell 3-2 ||Cell 3-3||
 16
 17! Simple table + heading 
 18
 19||! '''Head 1-1''' ||!'''Head 1-2''' ||!'''Head 1-3'''||
 20||Cell 1-1 ||Cell 1-2 ||Cell 1-3||
 21||Cell 2-1 ||Cell 2-2 ||Cell 2-3||
 22||Cell 3-1 ||Cell 3-2 ||Cell 3-3||
 23
 24! Simple table + heading + border 
 25
 26||! '''Head 1-1''' ||!'''Head 1-2''' ||!'''Head 1-3'''||
 27||Cell 1-1 ||Cell 1-2 ||Cell 1-3||
 28||Cell 2-1 ||Cell 2-2 ||Cell 2-3||
 29||Cell 3-1 ||Cell 3-2 ||Cell 3-3||
 30
 31! Simple table + heading + border + footer 
 32
 33||! '''Head 1-1''' ||!'''Head 1-2''' ||!'''Head 1-3'''||
 34||Cell 1-1 ||Cell 1-2 ||Cell 1-3||
 35||Cell 2-1 ||Cell 2-2 ||Cell 2-3||
 36||Cell 3-1 ||Cell 3-2 ||Cell 3-3||
 37||! '''Foot 1-1''' ||!'''Foot 1-2''' ||!'''Foot 1-3'''||
 38
 39! Simple table + heading + border + centralized 
 40
 41||! '''Head 1-1''' ||!'''Head 1-2''' ||!'''Head 1-3'''||
 42||Cell 1-1 ||Cell 1-2 ||Cell 1-3||
 43||Cell 2-1 ||Cell 2-2 ||Cell 2-3||
 44||Cell 3-1 ||Cell 3-2 ||Cell 3-3||
 45
 46! Cell alignment 
 47
 48||======= ||=======||
 49||< ||>||
 50||= ||=||
 51||> ||<||
 52
 53! Heading alignment 
 54
 55||! '''=======''' ||!'''======='''||
 56||! '''<''' ||!'''>'''||
 57||! '''=''' ||!'''='''||
 58||! '''>''' ||!'''<'''||
 59
 60! Column span for cells 
 61
 62||1 ||2 ||3 ||4||
 63||1 ||2 ||3 + 4||
 64||1 + 2 + 3 ||4||
 65||1 ||2 + 3 ||4||
 66||1 + 2 + 3 + 4||
 67
 68! Column span for headings 
 69
 70||! '''1''' ||!'''2''' ||!'''3''' ||!'''4'''||
 71||! '''1''' ||!'''2''' ||!'''3 + 4'''||
 72||! '''1 + 2 + 3''' ||!'''4'''||
 73||! '''1''' ||!'''2 + 3''' ||!'''4'''||
 74||! '''1 + 2 + 3 + 4'''||
 75
 76! Cell alignment + column span 
 77
 78||======= ||======= ||=======||
 79||< ||=||
 80||=||
 81||= ||>||
 82
 83! Heading alignment + column span 
 84
 85||! '''=======''' ||!'''=======''' ||!'''======='''||
 86||! '''<''' ||!'''='''||
 87||! '''='''||
 88||! '''=''' ||!'''>'''||
 89
 90! Some empty cells 
 91
 92||A ||B ||C ||D ||||
 93||F ||G ||H || ||J||
 94||K ||L || ||N ||O||
 95||P || ||R ||S ||T||
 96|| ||V ||W ||X ||Y||
 97
 98! Lines with different number of cells, increase 
 99
100||1||
101||1 ||2||
102||1 ||2 ||3||
103||1 ||2 ||3 ||4||
104||1 ||2 ||3 ||4 ||5||
105
106! Lines with different number of cells, decrease 
107
108||1 ||2 ||3 ||4 ||5||
109||1 ||2 ||3 ||4||
110||1 ||2 ||3||
111||1 ||2||
112||1||
113
114! One cell table 
115
116||Cell 1||
117
118! One cell table + border 
119
120||Cell 1||
121
122! One cell table + heading 
123
124||! '''Head 1'''||
125
126! One cell table + heading + border 
127
128||! '''Head 1'''||
129
130! Empty lines 
131
132||||
133||||
134||||
135