Tables

AsciiDoc tables are converted to Confluence tables. The following table features are supported:

Simple Table

A table without header row.

[cols="2"]
|===
| A1
| A2

| B1
| B2
|===
A1A2
B1B2

Table with Header

A table with first row as header.

Currently, only column headers, are supported, but row headers not.

[cols="2", options="header"]
|===
| Column 1
| Column 2

| A1
| A2

| B1
| B2
|===
Column 1Column 2
A1A2
B1B2

Table with Styled Text

A table with bold/italic text.

[cols="2", options="header"]
|===
| Column 1
| Column 2

| _A1_
| _A2_

| *B1*
| *B2*
|===
Column 1Column 2
A1A2
B1B2

Table with Col Span

[cols="3", options="header"]
|===
| Column 1
| Column 2
| Column 3

2+| A1 & A2
| A3

| B1
| B2
| B3
|===
Column 1Column 2Column 3
A1 & A2A3
B1B2B3

Table with Row Span

[cols="2", options="header"]
|===
| Column 1
| Column 2

.2+| A1
| A2
| A3

| B1
| B2
|===
Column 1Column 2
A1A2
A3
B1B2

Table with AsciiDoc Cell

Table cells may also contain structured content, e.g. bullet lists:

[cols="2", options="header"]
|===
| Column 1
| Column 2

|A1
a|
* A2
* A3
* A4
|===
Column 1Column 2
A1
  • A2
  • A3
  • A4

Related pages