summaryrefslogtreecommitdiff
path: root/tests/pipe-tables.txt
Commit message (Collapse)AuthorAge
* Markdown reader: Improved pipe table parsing.John MacFarlane2016-03-09
| | | | | Fixes #2765. Added test case.
* Added bodyless pipe table test case.John MacFarlane2015-11-24
| | | | See #2556.
* Pipe tables with long lines now get relative cell widths.John MacFarlane2015-10-30
| | | | | | | | | | | | | | | | | If a pipe table contains a line longer than the column width (as set by `--columns` or 80 by default), relative widths are computed based on the widths of the separator lines relative to the column width. This should solve persistent problems with long pipe tables in LaTeX/PDF output, and give more flexibility for determining relative column widths in other formats, too. For narrower pipe tables, column widths of 0 are used, telling pandoc not to specify widths explicitly in output formats that permit this. Closes #2471.
* Pipe tables: allow indented columns.John MacFarlane2015-07-27
| | | | | | | | | | 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.
* Fixed pipe tables -- headerless tables are not allowed.John MacFarlane2015-03-07
| | | | | | | | | | | | | GFM and PHP Markdown Extra pipe tables require headers. Previously pandoc allowed pipe tables not to include headers, and produced headerless pipe tables in Markdown output, but this was based on a misconception about pipe table syntax. This commit fixes this. Note: If you have been using headerless pipe tables, this may cause existing tables to break. Closes #1996.
* Markdown reader: Make one-column pipe tables work.John MacFarlane2014-05-01
| | | | Closes #1218.
* Added test for pipe table with spaces around header lines.John MacFarlane2013-03-02
|
* Revised code for pipe tables.John MacFarlane2012-07-22
* 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).