This describes support for encoding, display, and export of tabular data appearing within documents (requested & funded by Anna Agbe–Davies and the UNC-Chapel Hill Anthropology Department). This feature allows Markdown encoding of tables appearing within documents, and enhances the semantic division of texts into sections.
Example from Volume 2, Notebook 2, Page 45 of the Jeremiah White Graves accounts, bottom:
==Mrs Hendricks Abram== Date | Note | Amount ----| -------| ---- Nov 13th 1845 | Cr by 179lb Hay @ 2/3 | 0.65 " " | 53lb fodder @ 3/- | 0.26 " | 1/2 bbl corn @ $3/- | 1.50
A table consists of an optional section title, a table header, a separator line, and table data. These are encoded as follows:
===more important title===
====even more important title====
| First Column | Second Column | Third Column |
Lazy First Column | Second Column | Lazy Third Column
-------- | -------------- | -------------
The function of the table heading separators is to differentiate a heading from a data row, and to give an additional hint to the parser that it is processing a table.
Do not leave empty lines between the heading, separator, and data rows. Leaving empty lines between the heading, separator, and data rows will result in the cell sizes not matching the rest of the table.
Table data rows are separated by pipes, just as table headings are. They differ from headings only by occurring after a separator:
A particular date | Some stuff I sold | A subtotal
A later date | Some other stuff | A different subtotal