aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Readers/Muse.hs
AgeCommit message (Collapse)AuthorFilesLines
2019-02-18Muse reader: add secondary note supportAlexander Krotov1-0/+17
2019-02-06Muse reader: test that block level markup does not break <verbatim>Alexander Krotov1-0/+7
2019-02-04Add missing copyright notices and remove license boilerplate (#5112)Albert Krewinkel1-0/+11
Quite a few modules were missing copyright notices. This commit adds copyright notices everywhere via haddock module headers. The old license boilerplate comment is redundant with this and has been removed. Update copyright years to 2019. Closes #4592.
2018-12-25Muse reader tests: test #cover directiveAlexander Krotov1-0/+5
2018-11-14Muse reader: trim whitespace before parsing grid table cellsAlexander Krotov1-0/+11
2018-11-14Muse reader: add grid tables supportAlexander Krotov1-0/+43
2018-10-28Muse: Make tables round-tripAlexander Krotov1-2/+16
2018-10-28Muse reader: try to parse lists before trying to parse tableAlexander Krotov1-0/+12
This ensures that tables inside lists are parsed correctly.
2018-10-27Remove misleading comment from Muse reader testsAlexander Krotov1-1/+0
pandoc follows Text::Amuse rules instead of being bug compatible with Emacs Muse
2018-10-27Muse reader: forbid whitespace after opening and before closing markup elementsAlexander Krotov1-2/+10
See https://github.com/melmothx/text-amuse/issues/44 for discussion on these rules
2018-10-26Muse reader: parse page breaksAlexander Krotov1-0/+8
2018-10-22Muse reader: allow footnotes to start with empty lineAlexander Krotov1-0/+17
A space character was required after footnote marker, now newline is allowed.
2018-10-21Muse reader: allow empty headersAlexander Krotov1-0/+7
Previously empty headers caused parser to terminate without parsing the rest of the document.
2018-10-17Muse reader: allow examples to be indented with tabsAlexander Krotov1-0/+8
2018-10-17Muse reader: remove indentation from examples indicated by {{{ and }}}Alexander Krotov1-0/+6
2018-10-15Only override --quickcheck-tests=N if N is not default value (100).John MacFarlane1-1/+6
Some of the round-trip tests are set to do a maximum of 25 trials when the default value is given. Closes #4956.
2018-10-10Test that Muse reader can parse code with = sign insideAlexander Krotov1-0/+2
(fixed by previous commit)
2018-10-10Muse reader: fix parsing of empty cellsAlexander Krotov1-0/+11
2018-10-05Muse reader: allow table caption to contain "+"Alexander Krotov1-0/+8
2018-09-27HTML, Muse reader tests: reduce time taken by round-trip test.John MacFarlane1-1/+1
2018-09-22Muse reader tests: more testsAlexander Krotov1-0/+12
Check that indented blocks that end in self-terminating blocks (such as block tags and verse) can be terminated by paragraphs.
2018-09-21Muse reader: do not allow code markup to be followed by digitAlexander Krotov1-0/+4
2018-09-11Muse reader tests: accept Blocks instead of Block in round trip testAlexander Krotov1-2/+2
This way testcase can be shrinked better up to removing all blocks completely.
2018-09-06Muse reader: close the </quote> in indented tag testAlexander Krotov1-1/+2
There is already a separate test for unclosed </quote>.
2018-09-04Remove redundant $Alexander Krotov1-1/+1
2018-09-02Muse reader: autonumber sections in the correct orderAlexander Krotov1-0/+12
Parsing now stops at each section header to ensure the header is registered before parsing of the next section starts.
2018-09-02Muse reader: allow newline after opening "*" or "**"Alexander Krotov1-0/+8
Emacs Muse allows this.
2018-08-31Muse reader: parse <verse> tag in one passAlexander Krotov1-0/+6
instead of using parseFromString. This change makes it possible to have verbatim </verse> tag inside verse.
2018-08-30Fix a typo: s/afeter/after/Alexander Krotov1-1/+1
2018-08-12Muse reader: don't allow digits after closing marker in lightweight markupAlexander Krotov1-0/+4
This change makes reader more compatible with Emacs Muse
2018-05-31Muse reader: add support for floating imagesAlexander Krotov1-0/+6
2018-05-31Muse reader: add support for images with specified widthAlexander Krotov1-0/+6
2018-05-30Muse reader: parse image URLs without "guard" and "takeExtension"Alexander Krotov1-0/+3
2018-05-27Muse reader: test image with space in filenameAlexander Krotov1-0/+3
2018-04-26Muse reader: allow nested footnotesAlexander Krotov1-0/+9
2018-04-19Muse reader: allow "-" in anchorsAlexander Krotov1-0/+5
2018-04-16Muse reader: allow verse to be indentedAlexander Krotov1-0/+18
Muse writer indents verse blocks in definition list more than necessary, so Muse reader should parse them.
2018-04-16Fix a typo in Muse reader testsuite commentAlexander Krotov1-1/+1
2018-04-15Muse reader: don't allow footnote references inside linksAlexander Krotov1-0/+3
2018-04-15Muse reader: allow URL to be emptyAlexander Krotov1-0/+1
Muse writer can write links with empty URLs, so Muse reader should read them.
2018-04-15Muse reader: require that comment semicolons are in the first columnAlexander Krotov1-0/+1
Fixes #4551
2018-04-09Muse reader: add support for Text:Amuse multiline headingsAlexander Krotov1-4/+18
2018-04-07Muse reader: add support for <biblio> and <play> tagsAlexander Krotov1-0/+17
2018-04-02Muse reader: add <math> tag supportAlexander Krotov1-0/+2
2018-04-02Muse writer: place header IDs before headerAlexander Krotov1-1/+2
See https://github.com/melmothx/text-amuse/issues/39
2018-03-25Muse reader: enable round-trip testAlexander Krotov1-3/+2
Close #4468
2018-03-25Muse reader: allow links to have empty descriptionsAlexander Krotov1-0/+3
2018-03-25Muse reader: require block <literal> tags to be on separate linesAlexander Krotov1-0/+3
2018-03-18Comment out Muse reader round-trip test.John MacFarlane1-3/+4
It fails too often. Perhaps a separate test program should be used to hunt for round-trip bugs.
2018-03-18Use NoImplicitPrelude and explicitly import Prelude.John MacFarlane1-0/+2
This seems to be necessary if we are to use our custom Prelude with ghci. Closes #4464.