summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
...
* | MediaWiki reader: preformatted blocks and tests.John MacFarlane2012-09-12
| |
* | MediaWiki reader: Support `<math>` tag.John MacFarlane2012-09-12
| |
* | Added tests for mediawiki lists.John MacFarlane2012-09-12
| |
* | More mediawiki reader tests.John MacFarlane2012-09-12
| |
* | Added some tests for mediawiki reader.John MacFarlane2012-09-12
| |
* | Added basic mediawiki reader.John MacFarlane2012-09-12
| | | | | | | | | | Text.Pandoc.Readers.MediaWiki module, tests/mediawiki-reader.{txt,native}.
* | HTML writer: Improve line breaks with `<dd>` tags.John MacFarlane2012-09-12
| | | | | | | | | | We now put a newline between `</dd>` and `<dd>` when there are multiple definitions.
* | Fixed spacing in context writer test.John MacFarlane2012-09-08
| |
* | LaTeX reader: Support obeylines environment.John MacFarlane2012-09-06
| | | | | | | | Closes #604.
* | LaTeX reader: Use curly quotes for bare straight quotes.John MacFarlane2012-09-06
| |
* | Fixed footnotes bug in textile.John MacFarlane2012-09-06
|/ | | | | | | This affected notes occuring before punctuation, e.g. `foo[1].`. Closes #518.
* Added (failing) test case for #518.John MacFarlane2012-08-25
|
* Man writer: Escape - as \-.John MacFarlane2012-08-18
| | | | | | | | | | Unescaped -'s become hyphens, while \-'s are left as ascii minus signs. That is preferable for use with command-line options. See http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html. Thanks to Andrea Bolognani for bringing the issue to our attention.
* Changes to literate haskell options.John MacFarlane2012-08-08
| | | | | | | | | | | - Removed writerLiterateHaskell from WriterOptions. - Removed readerLiterateHaskell from ReaderOptions. - Added Ext_literate_haskell to Extensions. Test for this instead of the above. - Removed failUnlessLHS from Shared. Note: At this point, +lhs and .lhs extension no longer has any effect. Need to fix.
* Major rewrite of markdown reader.John MacFarlane2012-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | * Use Builder's Inlines/Blocks instead of lists. * Return values in the reader monad, which are then run (at the end of parsing) against the final parser state. This allows links, notes, and example numbers to be resolved without a second parser pass. * An effect of using Builder is that everything is normalized automatically. * New exports from Text.Pandoc.Parsing: widthsFromIndices, NoteTable', KeyTable', Key', toKey', withQuoteContext, singleQuoteStart, singleQuoteEnd, doubleQuoteStart, doubleQuoteEnd, ellipses, apostrophe, dash * Updated opendocument tests. * Don't derive Show for ParserState. * Benchmarks: markdown reader takes 82% of the time it took before. Markdown writer takes 92% of the time (here the speedup is probably due to the fact that everything is normalized by default).
* Moved WriterOptions and associated types Shared -> Options.John MacFarlane2012-07-26
|
* Integrated test suite with cabal.John MacFarlane2012-07-26
| | | | | | | | To run tests, configure with --enable-tests, then 'cabal test'. You can specify particular tests using --test-options='-t markdown'. No output is shown unless tests fail. In the future, we can move to the detailed-1.0 interface.
* Moved tests to tests/, modified cabal file so lib isn't recompiled.John MacFarlane2012-07-26
|
* Revised code for pipe tables.John MacFarlane2012-07-22
| | | | | | | | | | * All tables now require at least one body row. * Renamed from 'extra' to 'pipe' tables. * Moved functions from Parsing to Readers.Markdown. * Cleaned up code; revised to parse in one pass rather than parsing a raw string, splitting it, and parsing the components. * Allow pipe tables without pipes on the ends (as PHP Markdown Extra does).
* Renamed tests/markdown-tables -> tests/extra-tables.John MacFarlane2012-07-22
| | | | Added to cabal file.
* Merge pull request #510 from mytskine/markdown-extraJohn MacFarlane2012-07-22
|\ | | | | Markdown extra tables [part of the multi-markdown syntax for tables]
| * Added tests for markdown-extra tablesFrançois Gannaz2012-02-21
| | | | | | | | | | A few simple tests for the tables as php-markdown defines them. Only tables whose lines begin with a "|" are tested.
* | Removed fb2.math-webtex.fb2 tests.John MacFarlane2012-07-22
| | | | | | | | Test suite should not require net access to run.
* | FB2: support images embedded as data URIs + tests.Sergey Astanin2012-07-22
| |
* | Test suite for FB2 writer.Sergey Astanin2012-07-22
| |
* | Don't recognize inline-markup starts inside words.John MacFarlane2012-07-16
| | | | | | | | | | For example, "2*2 = 4*1" should not contain an emphasized section. Added test case for "Literal symbols". Closes #569.
* | Textile reader: properly handle links with surrounding brackets.John MacFarlane2012-07-13
| | | | | | | | | | | | | | Square brackets need to be used when the link isn't surrounded by spaces or punctuation, or when the URL ending may be ambiguous. Closes #564.
* | ConTeXt writer: don't escape `&`,`^`,`<`,`>`.John MacFarlane2012-06-27
| | | | | | | | | | | | Simplified escapes for `}` and `{` to `\{` and `\}`. Thanks to Aditya Mahajan.
* | MediaWiki writer: Avoid extra blank lines after sublists.John MacFarlane2012-06-27
| | | | | | | | Thanks to Gavin Beatty.
* | Don't escape `_` as `\letterunderscore{}` in ConTeXt.John MacFarlane2012-06-26
| |
* | Updated tests for changes in LaTeX template.John MacFarlane2012-06-08
| |
* | Updated tests for changes in LaTeX changes.John MacFarlane2012-06-05
| |
* | Updated tests for changes in latex template.John MacFarlane2012-06-05
| |
* | Added failing tests for note beginning with a citation.John MacFarlane2012-06-03
| | | | | | | | See issue #531.
* | Updated test suite.John MacFarlane2012-06-03
| |
* | Textile reader: fix for `<notextile>` and `==`.paul.rivier2012-05-29
| | | | | | | | Closes #517.
* | Added (failing) tests for textual citations in footnotes.John MacFarlane2012-05-23
| |
* | Markdown writer: Improved definition lists.John MacFarlane2012-05-16
| | | | | | | | | | | | | | * Use `:` form instead of `~`, for better compatibility with other markdown implementations. * Don't wrap the term, because it breaks definition lists.
* | LaTeX writer: More consistent interblock spacing.John MacFarlane2012-05-14
| |
* | DocBook reader: More improvements, passes tests.John MacFarlane2012-05-09
| |
* | DocBook reader: More test improvements.John MacFarlane2012-05-08
| |
* | DocBook reader tests - further refinements.John MacFarlane2012-05-08
| |
* | DocBook reader: More improvements, more tests pass.John MacFarlane2012-05-08
| |
* | DocBook reader: Improved def lists with multiple defs.John MacFarlane2012-05-08
| |
* | Improved docbook reader tests.John MacFarlane2012-05-08
| |
* | Added docbook reader tests (still failing).John MacFarlane2012-05-08
| |
* | Improved spacing around LaTeX block environments.John MacFarlane2012-04-30
| | | | | | | | verbatim, itemize, description, enumerate.
* | LaTeX writer: Fixed spacing in quote environments.John MacFarlane2012-04-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #502. Previously you'd get: ~~~ hi \begin{quote} hi \end{quote} hi ~~~ Now we get: ~~~ hi \begin{quote} hi \end{quote} hi ~~~
* | Updated latex writer tests for new template.John MacFarlane2012-04-28
| |
* | Merge pull request #485 from paul-r-ml/masterJohn MacFarlane2012-04-27
|\ \ | | | | | | Textile reader update