# Pandoc Grid Tables

Examples adapted from Pandoc's grid table documentation and reader tests.

## Basic Grid Tables

Dialect deviation: no grid tables - the bordered soup renders as literal paragraph text.

```````````````````````````````` example
+---+---+
| a | b |
+===+===+
| 1 | 2 |
+---+---+
.
<p>+---+---+
| a | b |
+===+===+
| 1 | 2 |
+---+---+</p>
````````````````````````````````

```````````````````````````````` example
+------+------+
| foo  | bar  |
+------+------+
.
<p>+------+------+
| foo  | bar  |
+------+------+</p>
````````````````````````````````

```````````````````````````````` example
   +---+---+
   | a | b |
   +===+===+
   | 1 | 2 |
   +---+---+
.
<p>+---+---+
| a | b |
+===+===+
| 1 | 2 |
+---+---+</p>
````````````````````````````````

```````````````````````````````` example
    +---+---+
    | a | b |
    +---+---+
.
<pre><code>+---+---+
| a | b |
+---+---+
</code></pre>
````````````````````````````````

## Alignment And Footers

Dialect deviation: no grid tables - the bordered soup renders as literal paragraph text.

```````````````````````````````` example
+-------+------+----------+
| Right | Left | Centered |
+======:+:=====+:========:+
| 1     | 2    | 3        |
+-------+------+----------+
.
<p>+-------+------+----------+
| Right | Left | Centered |
+======:+:=====+:========:+
| 1     | 2    | 3        |
+-------+------+----------+</p>
````````````````````````````````

```````````````````````````````` example
+------:+:-----+:------:+
| Right | Left | Center |
+-------+------+--------+
.
<p>+------:+:-----+:------:+
| Right | Left | Center |
+-------+------+--------+</p>
````````````````````````````````

```````````````````````````````` example
+-------+-------+
| Fruit | Price |
+=======+=======+
| A     | 1     |
+=======+=======+
| Sum   | 1     |
+=======+=======+
.
<p>+-------+-------+
| Fruit | Price |
+=======+=======+
| A     | 1     |
+=======+=======+
| Sum   | 1     |
+=======+=======+</p>
````````````````````````````````

## Cell Contents

Dialect deviation: no grid tables - the bordered soup renders as literal paragraph text.

```````````````````````````````` example
+------------------+-----------+------------+
| # col 1          | # col 2   | # col 3    |
| col 1            | col 2     | col 3      |
+------------------+-----------+------------+
| r1 a             | - b       | c          |
|                  | - b 2     | c 2        |
| r1 bis           | - b 3     | c 3        |
+------------------+-----------+------------+
.
<p>+------------------+-----------+------------+
| # col 1          | # col 2   | # col 3    |
| col 1            | col 2     | col 3      |
+------------------+-----------+------------+
| r1 a             | - b       | c          |
|                  | - b 2     | c 2        |
| r1 bis           | - b 3     | c 3        |
+------------------+-----------+------------+</p>
````````````````````````````````

```````````````````````````````` example
+--+----+
|魚|fish|
+--+----+
.
<p>+--+----+
|魚|fish|
+--+----+</p>
````````````````````````````````

```````````````````````````````` example
+-------+-------+
|German |English|
+-------+-------+
|Auf‌lage|edition|
+-------+-------+
.
<p>+-------+-------+
|German |English|
+-------+-------+
|Auf‌lage|edition|
+-------+-------+</p>
````````````````````````````````

```````````````````````````````` example
+---+---+
|   |   |
+---+---+
.
<p>+---+---+
|   |   |
+---+---+</p>
````````````````````````````````

## Spans

Dialect deviation: no grid tables - the bordered soup renders as literal paragraph text.

```````````````````````````````` example
+---------------------+----------+
| Property            | Earth    |
+=============+=======+==========+
|             | min   | -89.2 °C |
| Temperature +-------+----------+
| 1961-1990   | mean  | 14 °C    |
|             +-------+----------+
|             | max   | 56.7 °C  |
+-------------+-------+----------+
.
<p>+---------------------+----------+
| Property            | Earth    |
+=============+=======+==========+
|             | min   | -89.2 °C |
| Temperature +-------+----------+
| 1961-1990   | mean  | 14 °C    |
|             +-------+----------+
|             | max   | 56.7 °C  |
+-------------+-------+----------+</p>
````````````````````````````````

```````````````````````````````` example
+---------------------+-----------------------+
| Location            | Temperature 1961-1990 |
|                     | in degree Celsius     |
|                     +-------+-------+-------+
|                     | min   | mean  | max   |
+=====================+=======+=======+=======+
| Antarctica          | -89.2 | N/A   | 19.8  |
+---------------------+-------+-------+-------+
| Earth               | -89.2 | 14    | 56.7  |
+---------------------+-------+-------+-------+
.
<p>+---------------------+-----------------------+
| Location            | Temperature 1961-1990 |
|                     | in degree Celsius     |
|                     +-------+-------+-------+
|                     | min   | mean  | max   |
+=====================+=======+=======+=======+
| Antarctica          | -89.2 | N/A   | 19.8  |
+---------------------+-------+-------+-------+
| Earth               | -89.2 | 14    | 56.7  |
+---------------------+-------+-------+-------+</p>
````````````````````````````````
