aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests/Arbitrary.hs
AgeCommit message (Collapse)AuthorFilesLines
2014-04-29Added Cite to Arbitrary instance.John MacFarlane1-5/+4
See #1269. This reveals some test failures.
2014-04-29ADded SmallCaps to Arbitrary instance.John MacFarlane1-1/+1
2013-08-10Adjustments for new Format newtype.John MacFarlane1-4/+4
2013-06-24Use new flexible metadata type.John MacFarlane1-4/+7
* Depend on pandoc 1.12. * Added yaml dependency. * `Text.Pandoc.XML`: Removed `stripTags`. (API change.) * `Text.Pandoc.Shared`: Added `metaToJSON`. This will be used in writers to create a JSON object for use in the templates from the pandoc metadata. * Revised readers and writers to use the new Meta type. * `Text.Pandoc.Options`: Added `Ext_yaml_title_block`. * Markdown reader: Added support for YAML metadata block. Note that it must come at the beginning of the document. * `Text.Pandoc.Parsing.ParserState`: Replace `stateTitle`, `stateAuthors`, `stateDate` with `stateMeta`. * RST reader: Improved metadata. Treat initial field list as metadata when standalone specified. Previously ALL fields "title", "author", "date" in field lists were treated as metadata, even if not at the beginning. Use `subtitle` metadata field for subtitle. * `Text.Pandoc.Templates`: Export `renderTemplate'` that takes a string instead of a compiled template.. * OPML template: Use 'for' loop for authors. * Org template: '#+TITLE:' is inserted before the title. Previously the writer did this.
2013-01-09Added Attr field to Header.John MacFarlane1-1/+1
Previously header ids were autogenerated by the writers. Now they are generated (unless supplied explicitly) in the markdown parser, if the `header_identifiers` extension is selected. In addition, the textile reader now supports id attributes on headers.
2012-07-26Moved tests to tests/, modified cabal file so lib isn't recompiled.John MacFarlane1-0/+190
2011-01-29Moved tests to src.John MacFarlane1-181/+0
2011-01-29Tests.Arbitrary: don't allow empty list items.John MacFarlane1-3/+5
2011-01-26Add support for attributes in inline Code.John MacFarlane1-1/+1
Additional related changes: * URLs in Code in autolinks now use class "url". * Require highlighting-kate 0.2.8.2, which omits the final <br/> tag, essential for inline code.
2011-01-26Bumped version to 1.8; depend on pandoc-types 1.8.John MacFarlane1-1/+7
The old TeX, HtmlInline and RawHtml elements have been removed and replaced by generic RawInline and RawBlock elements. All modules updated to use the new raw elements.
2011-01-22Tests.Arbitrary: Let strings include any character.John MacFarlane1-1/+1
2011-01-22Added native writer tests.John MacFarlane1-4/+2
2011-01-22Tests.Arbitrary: Added instances for Inlines, Blocks.John MacFarlane1-0/+8
2011-01-13Added Tests/Arbitrary.hs, with Arbitrary instances.John MacFarlane1-0/+167