Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

90 lines
2.5KB

  1. <h2>Tables</h2>
  2. <table>
  3. <thead>
  4. <tr><th>First Header </th><th>Second Header</th></tr>
  5. </thead>
  6. <tbody>
  7. <tr><td>Content Cell </td><td>Content Cell</td></tr>
  8. <tr><td>Content Cell </td><td>Content Cell</td></tr>
  9. </tbody>
  10. </table>
  11. <table>
  12. <thead>
  13. <tr><th>First Header </th><th>Second Header</th></tr>
  14. </thead>
  15. <tbody>
  16. <tr><td>Content Cell </td><td>Content Cell</td></tr>
  17. <tr><td>Content Cell </td><td>Content Cell</td></tr>
  18. </tbody>
  19. </table>
  20. <table>
  21. <thead>
  22. <tr><th>Name </th><th>Description</th></tr>
  23. </thead>
  24. <tbody>
  25. <tr><td>Help </td><td>Display the help window.</td></tr>
  26. <tr><td>Close </td><td>Closes a window</td></tr>
  27. </tbody>
  28. </table>
  29. <table>
  30. <thead>
  31. <tr><th>Name </th><th>Description</th></tr>
  32. </thead>
  33. <tbody>
  34. <tr><td>Help </td><td><strong>Display the</strong> help window.</td></tr>
  35. <tr><td>Close </td><td><em>Closes</em> a window</td></tr>
  36. </tbody>
  37. </table>
  38. <table>
  39. <thead>
  40. <tr><th align="left">Left-Aligned </th><th align="center">Center Aligned </th><th align="right">Right Aligned</th></tr>
  41. </thead>
  42. <tbody>
  43. <tr><td align="left">col 3 is </td><td align="center">some wordy text </td><td align="right">$1600</td></tr>
  44. <tr><td align="left">col 2 is </td><td align="center">centered </td><td align="right"> $12</td></tr>
  45. <tr><td align="left">zebra stripes </td><td align="center">are neat </td><td align="right"> $1</td></tr>
  46. </tbody>
  47. </table>
  48. <table>
  49. <thead>
  50. <tr><th>Simple </th><th>Table</th></tr>
  51. </thead>
  52. <tbody>
  53. <tr><td>1 </td><td>2</td></tr>
  54. <tr><td>3 </td><td>4</td></tr>
  55. </tbody>
  56. </table>
  57. <table>
  58. <thead>
  59. <tr><th>Simple </th><th>Table</th></tr>
  60. </thead>
  61. <tbody>
  62. <tr><td>1 </td><td>2</td></tr>
  63. <tr><td>3 </td><td>4</td></tr>
  64. <tr><td>3 </td><td>4 |</td></tr>
  65. <tr><td>3 </td><td>4 \</td></tr>
  66. </tbody>
  67. </table>
  68. <p>Check https://github.com/erusev/parsedown/issues/184 for the following:</p>
  69. <table>
  70. <thead>
  71. <tr><th>Foo </th><th>Bar </th><th>State</th></tr>
  72. </thead>
  73. <tbody>
  74. <tr><td><code>Code | Pipe</code> </td><td>Broken </td><td>Blank</td></tr>
  75. <tr><td><code>Escaped Code \| Pipe</code> </td><td>Broken </td><td>Blank</td></tr>
  76. <tr><td>Escaped | Pipe </td><td>Broken </td><td>Blank</td></tr>
  77. <tr><td>Escaped \</td><td>Pipe </td><td>Broken </td><td>Blank</td></tr>
  78. <tr><td>Escaped \ </td><td>Pipe </td><td>Broken </td><td>Blank</td></tr>
  79. </tbody>
  80. </table>
  81. <table>
  82. <thead>
  83. <tr><th align="left">Simple </th><th>Table</th></tr>
  84. </thead>
  85. <tbody>
  86. <tr><td align="left">3 </td><td>4</td></tr>
  87. </tbody>
  88. </table>
  89. <p>3 | 4</p>