pandoc/tests
Daniel Bergey 74c1b547c2 parse RST class directives
The class directive accepts one or more class names, and creates a Div
value with those classes.  If the directive has an indented body, the
body is parsed as the children of the Div.  If not, the first block
folowing the directive is made a child of the Div.

This differs from the behavior of rst2xml, which does not create a Div
element.  Instead, the specified classes are applied to each child of
the directive.  However, most Pandoc Block constructors to not take an
Attr argument, so we can't duplicate this behavior.
2014-12-01 18:22:03 +00:00
..
docx Add tests for external links with anchors 2014-11-13 00:42:58 -05:00
epub EPUB Tests: Seperating image testing from other features 2014-09-25 13:33:25 +01:00
fb2 Revised tests directory. 2014-08-13 11:16:50 -07:00
Tests parse RST class directives 2014-12-01 18:22:03 +00:00
bodybg.gif initial import 2006-10-17 14:22:29 +00:00
docbook-reader.docbook Added mathml tests for docbook reader. 2014-08-12 14:10:52 -07:00
docbook-reader.native Added mathml tests for docbook reader. 2014-08-12 14:10:52 -07:00
dokuwiki_inline_formatting.dokuwiki Revised tests directory. 2014-08-13 11:16:50 -07:00
dokuwiki_inline_formatting.native Revised tests directory. 2014-08-13 11:16:50 -07:00
dokuwiki_multiblock_table.dokuwiki DokuWiki writer: Make tables prettier by aligning columns. 2014-08-30 21:24:33 -07:00
dokuwiki_multiblock_table.native Dokuwiki writer: Add a test for multiblock table cells. 2014-08-30 15:34:40 -04:00
haddock-reader.haddock Rewrote haddock reader to use haddock-library. 2014-06-18 14:18:55 -07:00
haddock-reader.native Revised haddock reader tests for changes in reader. 2014-06-18 18:04:08 -07:00
html-reader.html Removed extra </body> tag from tests/html-reader.html. 2014-11-16 20:46:45 -08:00
html-reader.native HTML reader: Parse appropriately styled span as SmallCaps. 2014-08-16 22:57:00 -07:00
insert initial import 2006-10-17 14:22:29 +00:00
lalune.jpg initial import 2006-10-17 14:22:29 +00:00
latex-reader.latex Fixed bug with escaped % in LaTeX reader. 2013-01-20 19:21:13 -08:00
latex-reader.native Update latex reader test for change in latex reader. 2014-04-26 12:32:22 -07:00
lhs-test-markdown.native RST writer: Use .. code:: language for code blocks with language. 2013-01-26 16:12:11 -08:00
lhs-test.fragment.html+lhs Updated tests for new HTML format. 2011-02-04 20:38:08 -08:00
lhs-test.html Use registerHeader in RST and LaTeX readers. 2013-09-01 09:13:31 -07:00
lhs-test.html+lhs Use registerHeader in RST and LaTeX readers. 2013-09-01 09:13:31 -07:00
lhs-test.latex More test updates. 2014-08-20 09:47:47 -07:00
lhs-test.latex+lhs More test updates. 2014-08-20 09:47:47 -07:00
lhs-test.markdown Don't use tilde code blocks with braced attributes in gfm output. 2013-12-09 20:31:47 -08:00
lhs-test.markdown+lhs RST writer: Use .. code:: language for code blocks with language. 2013-01-26 16:12:11 -08:00
lhs-test.native Use registerHeader in RST and LaTeX readers. 2013-09-01 09:13:31 -07:00
lhs-test.rst RST writer: Use .. code:: language for code blocks with language. 2013-01-26 16:12:11 -08:00
lhs-test.rst+lhs RST writer: Use .. code:: language for code blocks with language. 2013-01-26 16:12:11 -08:00
markdown-citations.native Markdown reader: unresolved citations fall back to original text. 2013-09-14 22:28:37 -07:00
markdown-citations.txt Added failing tests for note beginning with a citation. 2012-06-03 19:26:36 -07:00
markdown-reader-more.native HTML writer: Make header attributes work outside top level. 2014-10-23 10:27:14 -07:00
markdown-reader-more.txt HTML writer: Make header attributes work outside top level. 2014-10-23 10:27:14 -07:00
mediawiki-reader.native MediaWiki reader: Fixed bug in certain nested lists. 2014-04-01 10:36:23 -07:00
mediawiki-reader.wiki MediaWiki reader: Fixed bug in certain nested lists. 2014-04-01 10:36:23 -07:00
movie.jpg initial import 2006-10-17 14:22:29 +00:00
opml-reader.native Tests updated to reflect changes to readers. 2014-04-01 13:53:34 +01:00
opml-reader.opml Added OPML template, tests. 2013-03-20 10:17:59 -07:00
pipe-tables.native Markdown reader: Make one-column pipe tables work. 2014-05-01 09:23:21 -07:00
pipe-tables.txt Markdown reader: Make one-column pipe tables work. 2014-05-01 09:23:21 -07:00
rst-reader.native RST reader: Some fixes to last change, and use "author" not "authors". 2014-04-30 11:28:18 -07:00
rst-reader.rst Enhanced Pandoc's support for rST roles. 2014-02-15 17:51:33 +01:00
s5-basic.html Revised tests directory. 2014-08-13 11:16:50 -07:00
s5-fancy.html Revised tests directory. 2014-08-13 11:16:50 -07:00
s5-fragment.html Revised tests directory. 2014-08-13 11:16:50 -07:00
s5-inserts.html Revised tests directory. 2014-08-13 11:16:50 -07:00
s5.native Updated tests for latest pandoc-types changes. 2013-08-16 12:25:21 -07:00
tables-rstsubset.native RST reader: Use Text.Pandoc.Builder. 2012-09-27 17:52:48 -07:00
tables.asciidoc Pretty: Make CR + BLANKLINE = BLANKLINE. 2014-10-20 20:26:08 -07:00
tables.context Fixed tests for new ConTeXt writer behavior. 2013-11-30 16:34:32 -08:00
tables.docbook Docbook writer: Use CALS tables (instead of XHTML tables). 2011-07-24 23:24:03 -07:00
tables.dokuwiki DokuWiki writer: Make tables prettier by aligning columns. 2014-08-30 21:24:33 -07:00
tables.fb2 Test suite for FB2 writer. 2012-07-22 11:13:14 -07:00
tables.haddock Pretty: Make CR + BLANKLINE = BLANKLINE. 2014-10-20 20:26:08 -07:00
tables.html HTML writer: Add colgroup around col tags. 2014-03-05 13:01:23 -08:00
tables.icml InDesign ICML Writer 2014-02-28 13:35:35 +01:00
tables.latex LaTeX writer: Add \strut to fix multiline tables 2014-08-29 13:54:08 +00:00
tables.man Man writer: use one decimal place for column widths. 2013-04-09 19:56:43 -07:00
tables.markdown pandoc: Add newline to output unless standalone. 2011-01-06 21:05:28 -08:00
tables.mediawiki MediaWiki writer: Use native mediawiki tables instead of HTML. 2013-08-03 23:05:14 -07:00
tables.native Major rewrite of markdown reader. 2012-08-01 21:45:40 -07:00
tables.opendocument OpenDocument writer: Use "First paragraph" style after most non-para blocks. 2011-03-16 12:35:32 -07:00
tables.org Pretty: Make CR + BLANKLINE = BLANKLINE. 2014-10-20 20:26:08 -07:00
tables.plain pandoc: Add newline to output unless standalone. 2011-01-06 21:05:28 -08:00
tables.rst Pretty: Make CR + BLANKLINE = BLANKLINE. 2014-10-20 20:26:08 -07:00
tables.rtf RTF writer: Fixed tables cells containing paragraphs. 2014-03-24 15:12:32 -07:00
tables.texinfo pandoc: Add newline to output unless standalone. 2011-01-06 21:05:28 -08:00
tables.textile Textile reader: Improved table support. 2014-08-30 20:34:42 -07:00
tables.txt Allow language-neutral table captions. 2010-07-06 21:02:26 -07:00
test-pandoc.hs Make options work with test-pandoc. 2014-08-13 12:19:42 -07:00
testsuite.native Markdown reader: better handling of paragraph in div. 2014-08-31 12:55:47 -07:00
testsuite.txt Markdown reader: revised definition list syntax (closes #1429). 2014-07-20 16:33:59 -07:00
textile-reader.native Make raw_tex extension non-default for textile reader, writer. 2014-08-14 09:49:31 -07:00
textile-reader.textile Make raw_tex extension non-default for textile reader, writer. 2014-08-14 09:49:31 -07:00
twiki-reader.native TWiki Reader: add basic syntax test 2014-10-30 20:02:05 +01:00
twiki-reader.twiki TWiki Reader: add basic syntax test 2014-10-30 20:02:05 +01:00
txt2tags.native Txt2Tags Reader: Parse Meta information 2014-08-21 17:09:40 +01:00
txt2tags.t2t Txt2Tags Reader: Parse Meta information 2014-08-21 17:09:40 +01:00
writer.asciidoc Markdown reader: better handling of paragraph in div. 2014-08-31 12:55:47 -07:00
writer.context Markdown reader: better handling of paragraph in div. 2014-08-31 12:55:47 -07:00
writer.docbook Revamped raw HTML block parsing in markdown. 2014-07-07 15:53:59 -06:00
writer.dokuwiki DokuWiki writer: Better handling of block quotes. 2014-11-04 14:52:19 -08:00
writer.fb2 Markdown reader: better handling of paragraph in div. 2014-08-31 12:55:47 -07:00
writer.haddock Haddock writer: Use _____ for hrule. 2014-06-19 00:28:23 -07:00
writer.html Markdown reader: better handling of paragraph in div. 2014-08-31 12:55:47 -07:00
writer.icml Markdown reader: better handling of paragraph in div. 2014-08-31 12:55:47 -07:00
writer.latex Updated tests for #1616 change. 2014-09-09 10:09:05 -07:00
writer.man Markdown reader: better handling of paragraph in div. 2014-08-31 12:55:47 -07:00
writer.markdown Markdown writer: More improvements to 'plain' output, updated tests. 2014-07-27 07:57:23 -07:00
writer.mediawiki Markdown reader: better handling of paragraph in div. 2014-08-31 12:55:47 -07:00
writer.native Markdown reader: better handling of paragraph in div. 2014-08-31 12:55:47 -07:00
writer.opendocument ODT writer: Add draw:name attribute to draw:frame elements. 2013-11-30 17:00:58 -08:00
writer.opml Pretty: Make CR + BLANKLINE = BLANKLINE. 2014-10-20 20:26:08 -07:00
writer.org Revamped raw HTML block parsing in markdown. 2014-07-07 15:53:59 -06:00
writer.plain Plain writer: Use ALL CAPS for level 1 headers. 2014-08-08 15:20:29 -07:00
writer.rst Reverted "omit blank lines after list items," better fix for #1777. 2014-11-25 12:34:44 -08:00
writer.rtf Markdown reader: better handling of paragraph in div. 2014-08-31 12:55:47 -07:00
writer.texinfo Don't put the text of an autolink in Code font. 2013-01-06 20:51:51 -08:00
writer.textile Markdown reader: better handling of paragraph in div. 2014-08-31 12:55:47 -07:00