/test/target/ok/table.red

http://txt2tags.googlecode.com/ · Unknown · 134 lines · 91 code · 43 blank · 0 comment · 0 complexity · 19a915541187afddea6eb3bfee2058dd MD5 · raw file

  1. h1. Simple table
  2. |. Cell 1-1|. Cell 1-2|. Cell 1-3|
  3. |. Cell 2-1|. Cell 2-2|. Cell 2-3|
  4. |. Cell 3-1|. Cell 3-2|. Cell 3-3|
  5. h1. Simple table + border
  6. |. Cell 1-1|. Cell 1-2|. Cell 1-3|
  7. |. Cell 2-1|. Cell 2-2|. Cell 2-3|
  8. |. Cell 3-1|. Cell 3-2|. Cell 3-3|
  9. h1. Simple table + heading
  10. |_.Head 1-1|_.Head 1-2|_.Head 1-3|
  11. |. Cell 1-1|. Cell 1-2|. Cell 1-3|
  12. |. Cell 2-1|. Cell 2-2|. Cell 2-3|
  13. |. Cell 3-1|. Cell 3-2|. Cell 3-3|
  14. h1. Simple table + heading + border
  15. |_.Head 1-1|_.Head 1-2|_.Head 1-3|
  16. |. Cell 1-1|. Cell 1-2|. Cell 1-3|
  17. |. Cell 2-1|. Cell 2-2|. Cell 2-3|
  18. |. Cell 3-1|. Cell 3-2|. Cell 3-3|
  19. h1. Simple table + heading + border + footer
  20. |_.Head 1-1|_.Head 1-2|_.Head 1-3|
  21. |. Cell 1-1|. Cell 1-2|. Cell 1-3|
  22. |. Cell 2-1|. Cell 2-2|. Cell 2-3|
  23. |. Cell 3-1|. Cell 3-2|. Cell 3-3|
  24. |_.Foot 1-1|_.Foot 1-2|_.Foot 1-3|
  25. h1. Simple table + heading + border + centralized
  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. h1. Cell alignment
  31. |. =======|. =======|
  32. |. <|. >|
  33. |. =|. =|
  34. |. >|. <|
  35. h1. Heading alignment
  36. |_.=======|_.=======|
  37. |_.<|_.>|
  38. |_.=|_.=|
  39. |_.>|_.<|
  40. h1. Column span for cells
  41. |. 1|. 2|. 3|. 4|
  42. |. 1|. 2|\2. 3 + 4|
  43. |\3. 1 + 2 + 3|. 4|
  44. |. 1|\2. 2 + 3|. 4|
  45. |\4. 1 + 2 + 3 + 4|
  46. h1. Column span for headings
  47. |_.1|_.2|_.3|_.4|
  48. |_.1|_.2|_.3 + 4|
  49. |_.1 + 2 + 3|_.4|
  50. |_.1|_.2 + 3|_.4|
  51. |_.1 + 2 + 3 + 4|
  52. h1. Cell alignment + column span
  53. |. =======|. =======|. =======|
  54. |\2. <|. =|
  55. |\3. =|
  56. |. =|\2. >|
  57. h1. Heading alignment + column span
  58. |_.=======|_.=======|_.=======|
  59. |_.<|_.=|
  60. |_.=|
  61. |_.=|_.>|
  62. h1. Some empty cells
  63. |. A|. B|. C|. D|. |
  64. |. F|. G|. H|. |. J|
  65. |. K|. L|. |. N|. O|
  66. |. P|. |. R|. S|. T|
  67. |. |. V|. W|. X|. Y|
  68. h1. Lines with different number of cells, increase
  69. |. 1|
  70. |. 1|. 2|
  71. |. 1|. 2|. 3|
  72. |. 1|. 2|. 3|. 4|
  73. |. 1|. 2|. 3|. 4|. 5|
  74. h1. Lines with different number of cells, decrease
  75. |. 1|. 2|. 3|. 4|. 5|
  76. |. 1|. 2|. 3|. 4|
  77. |. 1|. 2|. 3|
  78. |. 1|. 2|
  79. |. 1|
  80. h1. One cell table
  81. |. Cell 1|
  82. h1. One cell table + border
  83. |. Cell 1|
  84. h1. One cell table + heading
  85. |_.Head 1|
  86. h1. One cell table + heading + border
  87. |_.Head 1|
  88. h1. Empty lines
  89. |. |
  90. |. |
  91. |. |