Updated tests for correct col width.

This commit is contained in:
John MacFarlane 2011-11-18 19:50:45 -08:00
parent 4c122be58a
commit 679e94e53d
2 changed files with 18 additions and 19 deletions

View file

@ -52,20 +52,20 @@ Multiline table without caption:
Table without column headers: Table without column headers:
[cols=">,<,^,>",] [cols=">,<,^,>",]
|======================================================================= |=============================================================================
|12 |12 |12 |12 |12 |12 |12 |12
|123 |123 |123 |123 |123 |123 |123 |123
|1 |1 |1 |1 |1 |1 |1 |1
|======================================================================= |=============================================================================
Multiline table without column headers: Multiline table without column headers:
[width="78%",cols="^21%,<17%,>20%,42%",] [width="78%",cols="^21%,<17%,>20%,42%",]
|======================================================================= |=============================================================================
|First |row |12.0 |Example of a row that spans multiple lines. |First |row |12.0 |Example of a row that spans multiple lines.
|Second |row |5.0 |Here's another one. Note the blank line between rows. |Second |row |5.0 |Here's another one. Note the blank line between rows.
|======================================================================= |=============================================================================

View file

@ -4,8 +4,8 @@ Pandoc Test Suite
:author: Anonymous :author: Anonymous
:date: July 17, 2006 :date: July 17, 2006
This is a set of tests for pandoc. Most of them are adapted from John This is a set of tests for pandoc. Most of them are adapted from John Grubers
Grubers markdown test suite. markdown test suite.
''''' '''''
@ -46,9 +46,9 @@ Paragraphs
Heres a regular paragraph. Heres a regular paragraph.
In Markdown 1.0.0 and earlier. Version 8. This line turns into a list In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item.
item. Because a hard-wrapped line in the middle of a paragraph looked Because a hard-wrapped line in the middle of a paragraph looked like a list
like a list item. item.
Heres one with a bullet. \* criminey. Heres one with a bullet. \* criminey.
@ -446,8 +446,8 @@ Smart quotes, ellipses, dashes
`He said, ``I want to go.''' Were you alive in the 70s? `He said, ``I want to go.''' Were you alive in the 70s?
Here is some quoted ``code`' and a Here is some quoted ``code`' and a ``http://example.com/?foo=1&bar=2[quoted
``http://example.com/?foo=1&bar=2[quoted link]''. link]''.
Some dashes: one—two — three—four — five. Some dashes: one—two — three—four — five.
@ -594,8 +594,7 @@ Foo link:/url/[biz].
With ampersands With ampersands
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
Heres a http://example.com/?foo=1&bar=2[link with an ampersand in the Heres a http://example.com/?foo=1&bar=2[link with an ampersand in the URL].
URL].
Heres a link with an amersand in the link text: http://att.com/[AT&T]. Heres a link with an amersand in the link text: http://att.com/[AT&T].
@ -641,12 +640,12 @@ Footnotes
--------- ---------
Here is a footnote reference,footnote:[Here is the footnote. It can go Here is a footnote reference,footnote:[Here is the footnote. It can go
anywhere after the footnote reference. It need not be placed at the end anywhere after the footnote reference. It need not be placed at the end of the
of the document.] and another.[multiblock footnote omitted] This should document.] and another.[multiblock footnote omitted] This should _not_ be a
_not_ be a footnote reference, because it contains a space.[\^my note] footnote reference, because it contains a space.[\^my note] Here is an inline
Here is an inline note.footnote:[This is _easier_ to type. Inline notes note.footnote:[This is _easier_ to type. Inline notes may contain
may contain http://google.com[links] and `]` verbatim characters, as http://google.com[links] and `]` verbatim characters, as well as [bracketed
well as [bracketed text].] text].]
___________________________________________ ___________________________________________
Notes can go in quotes.footnote:[In quote.] Notes can go in quotes.footnote:[In quote.]