You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The caption Tag is used to specify the caption of a table. This tag will be inserted just after the <table> tag.
Markdown does not define a caption for tables. This could be done by convention, alternatively using an Officially Supported Extension, as shown below, before rendering.
Table Example with heading, two columns and a row
| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
<p>Table Example with heading, two columns and a row</p><table><thead><tr><th>Syntax</th><th>Description</th></tr></thead><tbody><tr><td>Header</td><td>Title</td></tr><tr><td>Paragraph</td><td>Text</td></tr></tbody></table>
<tableid="_table-1"><caption><span>Table 1:</span> Example with heading, two columns and a row</caption><thead><tr><th>Syntax</th><th>Description</th></tr></thead><tbody><tr><td>Header</td><td>Title</td></tr><tr><td>Paragraph</td><td>Text</td></tr></tbody></table>
Activity
flywire commentedon Jul 16, 2020
Sample Table block (to be styled with css):
hendrikp commentedon Mar 5, 2023
This was solved through the major-refactor PR and can be closed.