/test/target/ok/table.spip

http://txt2tags.googlecode.com/ · Unknown · 136 lines · 91 code · 45 blank · 0 comment · 0 complexity · b26b10e6f9d1bb63815a6dcbf93d3ca7 MD5 · raw file

  1. {{{ 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. {{{ 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. {{{ 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. {{{ 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. {{{ 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. {{{ 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. {{{ Cell alignment }}}
  31. | ======= | ======= |
  32. | < | > |
  33. | = | = |
  34. | > | < |
  35. {{{ Heading alignment }}}
  36. | {{=======}} | {{=======}} |
  37. | {{<}} | {{>}} |
  38. | {{=}} | {{=}} |
  39. | {{>}} | {{<}} |
  40. {{{ Column span for cells }}}
  41. | 1 | 2 | 3 | 4 |
  42. | 1 | 2 | 3 + 4 |
  43. | 1 + 2 + 3 | 4 |
  44. | 1 | 2 + 3 | 4 |
  45. | 1 + 2 + 3 + 4 |
  46. {{{ 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. {{{ Cell alignment + column span }}}
  53. | ======= | ======= | ======= |
  54. | < | = |
  55. | = |
  56. | = | > |
  57. {{{ Heading alignment + column span }}}
  58. | {{=======}} | {{=======}} | {{=======}} |
  59. | {{<}} | {{=}} |
  60. | {{=}} |
  61. | {{=}} | {{>}} |
  62. {{{ 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. {{{ 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. {{{ 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. {{{ One cell table }}}
  81. | Cell 1 |
  82. {{{ One cell table + border }}}
  83. | Cell 1 |
  84. {{{ One cell table + heading }}}
  85. | {{Head 1}} |
  86. {{{ One cell table + heading + border }}}
  87. | {{Head 1}} |
  88. {{{ Empty lines }}}
  89. | |
  90. | |
  91. | |