Skip to content

Commit

Permalink
DOC: Add tables with alignment
Browse files Browse the repository at this point in the history
Add tables with alignment to help test #71
  • Loading branch information
bashtage committed Oct 12, 2020
1 parent 0b27752 commit cfe24f9
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions docs/additional_samples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,50 @@ cell1 cell2 cell3
... ... ...
===== ====== =======

List Tables
-----------

.. list-table:: A List Table
:header-rows: 1

* - Column 1
- Column 2
* - Item 1
- Item 2

Alignment
~~~~~~~~~

.. warning:: Alignment is not currently working as expected.

.. list-table:: Center Aligned
:header-rows: 1
:align: center

* - Column 1
- Column 2
* - Item 1
- Item 2


.. list-table:: Right Aligned
:widths: 15 10 30
:header-rows: 1
:align: right

* - Treat
- Quantity
- Description
* - Albatross
- 2.99
- On a stick!
* - Crunchy Frog
- 1.49
- If we took the bones out, it wouldn't be
crunchy, now would it?
* - Gannet Ripple
- 1.99
- On a stick!

Code Documentation
==================
Expand Down

0 comments on commit cfe24f9

Please sign in to comment.