summaryrefslogtreecommitdiff
path: root/tests/Tests/Arbitrary.hs
AgeCommit message (Collapse)Author
2016-10-14Remove Tests.ArbitraryJesse Rosenthal
Use exported Arbitrary instances from pandoc-types instead.
2015-08-07Updated Arbitrary instance for link attributemb21
2015-08-07Updated Arbitrary instance for new image attribute parameter.John MacFarlane
2014-04-29Added Cite to Arbitrary instance.John MacFarlane
See #1269. This reveals some test failures.
2014-04-29ADded SmallCaps to Arbitrary instance.John MacFarlane
2013-08-10Adjustments for new Format newtype.John MacFarlane
2013-06-24Use new flexible metadata type.John MacFarlane
* 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 MacFarlane
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 MacFarlane
2011-01-29Moved tests to src.John MacFarlane
2011-01-29Tests.Arbitrary: don't allow empty list items.John MacFarlane
2011-01-26Add support for attributes in inline Code.John MacFarlane
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 MacFarlane
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 MacFarlane
2011-01-22Added native writer tests.John MacFarlane
2011-01-22Tests.Arbitrary: Added instances for Inlines, Blocks.John MacFarlane
2011-01-13Added Tests/Arbitrary.hs, with Arbitrary instances.John MacFarlane