pandoc/tests/pipe-tables.txt
John MacFarlane 0baaa1080a Pipe tables: allow indented columns.
Previously the left-hand column could not start with 4 or
more spaces indent.  This was inconvenient for right-aligned
left columns.

Note that the first (header column) must still have 3 or fewer
spaces indentation, or the table will be treated as an indented
code  block.
2015-07-27 10:24:06 -07:00

61 lines
924 B
Text

Simplest table without caption:
| Default1 | Default2 | Default3 |
|----------|----------|----------|
|12|12|12|
|123|123|123|
|1|1|1|
Simple table with caption:
| Right | Left | Default | Center |
| ----: | :--- | ------- | :----: |
| 12 | 12 | 12 | 12 |
| 123 | 123 | 123 | 123 |
| 1 | 1 | 1 | 1 |
: Demonstration of simple table syntax.
Simple table without caption:
| Right | Left | Center |
|------:|:-----|:------:|
|12|12|12|
|123|123|123|
|1|1|1|
Headerless table without caption:
| | | |
|------:|:-----|:------:|
|12|12|12|
|123|123|123|
|1|1|1|
Table without sides:
Fruit |Quantity
------|-------:
apple | 5
orange| 17
pear | 302
One-column:
|hi|
|--|
|lo|
Header-less one-column:
| |
|:-:|
|hi|
Indented left column:
Number of siblings | Salary
------------------:|:------
3 | 33
4 | 44