summaryrefslogtreecommitdiff
path: root/test/Tests/Writers/Muse.hs
AgeCommit message (Collapse)Author
2023-01-14Remove Null constructor from docsAlbert Krewinkel
2022-02-23Tests: improve location reporting of failing testsAlbert Krewinkel
2021-02-07Avoid unnecessary use of NoImplicitPrelude pragma (#7089)Albert Krewinkel
2020-04-15Use the new builders, modify readers to preserve empty headersdespresc
The Builder.simpleTable now only adds a row to the TableHead when the given header row is not null. This uncovered an inconsistency in the readers: some would unconditionally emit a header filled with empty cells, even if the header was not present. Now every reader has the conditional behaviour. Only the XWiki writer depended on the header row being always present; it now pads its head as necessary.
2020-04-15Adapt to the newest Table type, fix some previous adaptation issuesdespresc
- Writers.Native is now adapted to the new Table type. - Inline captions should now be conditionally wrapped in a Plain, not a Para block. - The toLegacyTable function now lives in Writers.Shared.
2020-04-15Implement the new Table typedespresc
2019-07-14Muse: add RTL supportAlexander Krotov
Closes #5551
2019-05-25Muse writer: do not escape empty line after <br>Alexander Krotov
2019-04-28Muse writer tests: compare Text without converting to [Char]Alexander Krotov
2019-02-18Muse writer: escape secondary notesAlexander Krotov
2018-11-14Muse writer: indent simple tables only on the top levelAlexander Krotov
2018-11-13Muse writer: output tables with one column as grid tablesAlexander Krotov
2018-11-06Use OverloadedStrings extension to simplify Muse writer testsAlexander Krotov
2018-11-05Muse writer: add support for --reference-location=Alexander Krotov
Address #107
2018-10-23Muse writer: do not insert newline before listsAlexander Krotov
2018-10-21Muse writer: use lightweight markup after </em> tagAlexander Krotov
2018-09-16Muse writer: replace newlines in strings with spacesAlexander Krotov
2018-09-11Muse writer: set envInsideBlock = True when rendering notesAlexander Krotov
2018-09-11Muse writer: check for whitespace in the beginning and end of Str'sAlexander Krotov
2018-09-11Muse writer: escape -, ; and > in the beginning of stringsAlexander Krotov
2018-09-11Muse writer: escape list markers in the beginning of notesAlexander Krotov
2018-09-11Muse writer: normalize inline list before testing if tags should be usedAlexander Krotov
2018-09-11Muse writer: use tags instead of lightweight markup for empty stringsAlexander Krotov
2018-09-04hlint Muse writer testsAlexander Krotov
2018-09-02Muse writer: use lightweight markup when possibleAlexander Krotov
2018-05-07Muse writer: add support for left-align and right-align classesAlexander Krotov
Address issue #4542
2018-04-16Muse writer: escape definition list terms starting with list markersAlexander Krotov
2018-04-15Muse writer: escape strings starting with spaceAlexander Krotov
2018-04-10Muse writer: escape > less oftenAlexander Krotov
> should be escaped only when it can start verse, i.e., at the beginning of the line.
2018-04-09Muse writer: don't break headers, line blocks and tables with line breaksAlexander Krotov
2018-04-09Muse writer: correctly output empty headingsAlexander Krotov
2018-04-05Changes to tests to accommodate changes in pandoc-types.John MacFarlane
In https://github.com/jgm/pandoc-types/pull/36 we changed the table builder to pad cells. This commit changes tests (and two readers) to accord with this behavior.
2018-04-05Muse writer: escape horizontal rule only if at the beginning of the lineAlexander Krotov
2018-04-02Muse writer: place header IDs before headerAlexander Krotov
See https://github.com/melmothx/text-amuse/issues/39
2018-04-01Muse writer: only escape brackets when necessaryAlexander Krotov
It includes cases when they can be mistaken for footnotes and links, as well as inside link description.
2018-03-31Muse writer: do not escape list markers unless preceded by spaceAlexander Krotov
2018-03-28Muse writer: escape semicolons and markers after line breakAlexander Krotov
2018-03-25Muse writer: escape ordered list markersAlexander Krotov
Also reduced amount of <verbatim> tags in output to avoid escaping every "-" and word that ends in a full stop.
2018-03-25Muse writer: enable --wrap=preserve for all tests by defaultAlexander Krotov
2018-03-25Muse writer: improve span writingAlexander Krotov
Test more cases when span has or hasn't anchor, class and contents in different combinations.
2018-03-25Muse writer: do not join Span's doing normalizationAlexander Krotov
Separate spans may have different semantics, for example if spans indicate syllables in a word.
2018-03-21Muse writer: don't align ordered list itemsAlexander Krotov
It leads to problems with round-trip test, because aligned line blocks can't be read back.
2018-03-20Muse writer: escape "]" in image titleAlexander Krotov
2018-03-20Muse writer: escape ";" to avoid accidental commentsAlexander Krotov
2018-03-20Muse writer: escape "]" brackets in URLs as "%5D"Alexander Krotov
2018-03-18Use NoImplicitPrelude and explicitly import Prelude.John MacFarlane
This seems to be necessary if we are to use our custom Prelude with ghci. Closes #4464.
2018-03-12Muse writer: support spans with anchorsAlexander Krotov
2018-03-07Muse writer: replace smallcaps with emphasis before normalizationAlexander Krotov
2018-03-07Muse writer: output smallcaps as emphasisAlexander Krotov
2018-03-07Muse writer: write empty inline lists as <verbatim></verbatim>Alexander Krotov