Table Extension
The table extension provides a means for defining tables using traditional markdown syntax, as shown in Example 1. It also adds the ability to create numbered and captioned tables as in Example 2.
Example 1: Example of stand-alone table using markdown syntax.
| Heading 1 | Heading 2 |
| - | - |
| Item 1 | Item 2 |
Heading 1 | Heading 2 |
---|
Item 1 | Item 2 |
Example 2: Example of table using markdown syntax displayed as a float.
!table id=table-floating caption=This is a "floating" table.
| Heading 1 | Heading 2 |
| - | - |
| Item 1 | Item 2 |
Table 1: This is a "floating" table.
Heading 1 | Heading 2 |
---|
Item 1 | Item 2 |
The table extension also supports 'left', 'center', and 'right' aligned columns, again using traditional markdown format.
Example showing alignment of columns.
| Left | Center | Right |
| :- | - | -: |
| This text is aligned to the left | This text is centered | This is aligned to the right |
Left | Center | Right |
---|
This text is aligned to the left | This text is centered | This is aligned to the right |