pandoc/tests/pipe-tables.txt
John MacFarlane d2cc56a46a Revised code for pipe tables.
* All tables now require at least one body row.
* Renamed from 'extra' to 'pipe' tables.
* Moved functions from Parsing to Readers.Markdown.
* Cleaned up code; revised to parse in one pass rather than
  parsing a raw string, splitting it, and parsing the components.
* Allow pipe tables without pipes on the ends (as PHP Markdown Extra
  does).
2012-07-22 22:09:15 -07:00

42 lines
698 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