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:
[cols=">,<,^,>",]
|=======================================================================
|=============================================================================
|12 |12 |12 |12
|123 |123 |123 |123
|1 |1 |1 |1
|=======================================================================
|=============================================================================
Multiline table without column headers:
[width="78%",cols="^21%,<17%,>20%,42%",]
|=======================================================================
|=============================================================================
|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.
|=======================================================================
|=============================================================================

View file

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