aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Readers/Muse.hs
AgeCommit message (Collapse)AuthorFilesLines
2018-01-20Muse reader: enable definition lists in round-trip testAlexander Krotov1-3/+2
2018-01-19hlint code improvements.John MacFarlane1-3/+3
2018-01-20Muse reader: fix parsing of nested definition listsAlexander Krotov1-1/+11
2018-01-19Muse reader: require only one space for nested definition list indentationAlexander Krotov1-0/+3
2018-01-19Muse reader: parse definition list terms without parseFromStringAlexander Krotov1-0/+2
2018-01-18Muse reader: fix parsing of code at the beginning of paragraphAlexander Krotov1-0/+3
2018-01-18Muse reader: refactor definition list parsingAlexander Krotov1-11/+0
Test with wrong indentation is removed, because now it is parsed as nested lists. Emacs Muse and Text::Amuse don't have the same behavior anyway.
2018-01-18Muse reader: parse "~~" as non-breaking space in Text::Amuse modeAlexander Krotov1-2/+2
Latest Text::Amuse supports "~~"
2018-01-18Muse reader: refactor list parsingAlexander Krotov1-17/+52
Now list item contents is parsed as blocks, without resorting to parseFromString. Only the first line of paragraph has to be indented now, just like in Emacs Muse and Text::Amuse. Definition lists are not refactored yet. See also: issue #3865.
2017-12-30Muse reader: enable round trip testAlexander Krotov1-10/+9
Closes #4107
2017-12-21Muse reader: parse anchors immediately after headings as IDsAlexander Krotov1-0/+12
2017-12-20Muse reader: require that note references does not start with 0Alexander Krotov1-0/+14
2017-12-19Muse reader: parse empty comments correctlyAlexander Krotov1-0/+2
2017-12-06hlint Muse reader and testsAlexander Krotov1-4/+4
2017-12-06Muse reader: add test for #disable-tables directive in Emacs modeAlexander Krotov1-7/+13
2017-12-06Muse reader: don't allow emphasis to be preceded by letterAlexander Krotov1-0/+4
2017-12-04Muse reader: add underline support in Emacs Muse modeAlexander Krotov1-0/+4
2017-11-29Muse reader: correctly remove indentation from notesAlexander Krotov1-0/+8
Exactly one space is required and considered to be part of the marker.
2017-11-28Temporarily disable round-trip block test for muse reader.John MacFarlane1-4/+6
See #4107.
2017-11-27Muse reader: parse "~~" as non-breaking space in Emacs modeAlexander Krotov1-0/+3
2017-11-27Muse reader: make code blocks round tripAlexander Krotov1-5/+25
2017-11-26Muse reader: drop common space prefix from list itemsAlexander Krotov1-0/+18
2017-11-26Muse reader: Add partial round trip testAlexander Krotov1-1/+28
2017-11-25Muse reader: don't interpret XML entitiesAlexander Krotov1-0/+2
2017-11-24Muse reader: parse markup in definition list termsAlexander Krotov1-0/+2
2017-11-24Muse reader: allow definition to end with EOFAlexander Krotov1-0/+2
2017-11-24Muse: move inline list normalization to writerAlexander Krotov1-2/+0
2017-11-22Muse reader: allow list items to be emptyAlexander Krotov1-0/+21
2017-11-22Muse reader: add ordered list testAlexander Krotov1-12/+24
2017-11-22Muse reader: add more multiline definition testsAlexander Krotov1-0/+25
2017-11-22Muse reader: concatenate inlines of the same typeAlexander Krotov1-0/+2
2017-11-22Muse writer: escape only </code> inside code tagAlexander Krotov1-0/+2
Additional <verbatim> is not needed as <code> is verbatim already.
2017-11-21Muse reader: add inline <literal> supportAlexander Krotov1-0/+9
2017-11-21Muse reader: test <literal> blocksAlexander Krotov1-0/+14
2017-11-19Muse reader: count only one space as part of list item markerAlexander Krotov1-22/+36
2017-11-19Muse reader: produce SoftBreaks on newlinesAlexander Krotov1-13/+13
Now wrapping can be preserved with --wrap=preserve
2017-11-18Muse reader: Add Text::Amuse footnote extensionsAlexander Krotov1-0/+37
Footnote end is indicated by indentation, so footnotes can be placed anywhere in the text, not just at the end of it.
2017-11-13Replace "emacs" extension with "amuse" extensionAlexander Krotov1-8/+4
It makes clear that extension is related to Muse markup.
2017-11-12Muse reader: accept Emacs Muse definition listsAlexander Krotov1-0/+12
Emacs Muse does not require indentation.
2017-10-29Export all of Text.Pandoc.Class from Text.Pandoc.John MacFarlane1-1/+0
2017-09-30Removed writerSourceURL, add source URL to common state.John MacFarlane1-4/+2
Removed `writerSourceURL` from `WriterOptions` (API change). Added `stSourceURL` to `CommonState`. It is set automatically by `setInputFiles`. Text.Pandoc.Class now exports `setInputFiles`, `setOutputFile`. The type of `getInputFiles` has changed; it now returns `[FilePath]` instead of `Maybe [FilePath]`. Functions in Class that formerly took the source URL as a parameter now have one fewer parameter (`fetchItem`, `downloadOrRead`, `setMediaResource`, `fillMediaBag`). Removed `WriterOptions` parameter from `makeSelfContained` in `SelfContained`.
2017-09-28Muse reader: parse anchorsAlexander Krotov1-0/+20
2017-09-26Muse reader: test metadata parsingAlexander Krotov1-0/+7
2017-09-11Merge pull request #3911 from labdsf/muse-reader-bracesJohn MacFarlane1-0/+33
Muse reader: parse {{{ }}} example syntax
2017-09-11Muse reader: allow inline markup to be followed by punctuationAlexander Krotov1-2/+18
Previously code was not allowed to be followed by comma, and emphasis was allowed to be followed by letter.
2017-09-11Muse reader: parse {{{ }}} example syntaxAlexander Krotov1-0/+33
2017-09-11Muse reader: parse verbatim tagAlexander Krotov1-0/+2
2017-09-10Muse reader: trim newlines from <example>sAlexander Krotov1-0/+25
2017-09-09Muse reader: debug inline code markupAlexander Krotov1-2/+32
2017-09-06Muse reader: Allow finishing header with EOF (#3897)Alexander1-6/+6