aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/Muse.hs
AgeCommit message (Collapse)AuthorFilesLines
2019-02-18hlint MuseAlexander Krotov1-2/+2
2019-02-18Muse writer: escape secondary notesAlexander Krotov1-7/+10
2019-02-18Move a comment in Muse WriterAlexander Krotov1-1/+1
2019-02-04Add missing copyright notices and remove license boilerplate (#5112)Albert Krewinkel1-2/+2
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-11-15Muse writer: output tables as grid tables if they have multi-line cellsAlexander Krotov1-1/+13
2018-11-14Muse writer: indent simple tables only on the top levelAlexander Krotov1-4/+5
2018-11-14Muse writer: simplify "simpleTable"Alexander Krotov1-7/+4
2018-11-14Muse writer: remove outdated commentsAlexander Krotov1-3/+0
2018-11-13Muse writer: output tables with one column as grid tablesAlexander Krotov1-1/+1
2018-11-11Text.Pandoc.Shared: add parameter to uniqueIdent, inlineListToIdentifier.John MacFarlane1-1/+1
The parameter is Extensions. This allows these functions to be sensitive to the settings of `Ext_gfm_auto_identifiers` and `Ext_ascii_identifiers`. This allows us to use `uniqueIdent` in the CommonMark reader, replacing some custom code. It also means that `gfm_auto_identifiers` can now be used in all formats. Semantically, `gfm_auto_identifiers` is now a modifier of `auto_identifiers`; for identifiers to be set, `auto_identifiers` must be turned on, and then the type of identifier produced depends on `gfm_auto_identifiers` and `ascii_identifiers` are set. Closes #5057.
2018-11-06hlint Muse writerAlexander Krotov1-1/+1
2018-11-05Muse writer: add support for --reference-location=Alexander Krotov1-6/+44
Address #107
2018-10-25Muse writer: add support for grid tablesAlexander Krotov1-23/+35
2018-10-23Fix Muse writer styleAlexander Krotov1-42/+42
2018-10-23Muse writer: use length instead of realLength to calculate definition ↵Alexander Krotov1-1/+2
indentation Muse parsers don't take character width into account when calculating indentation.
2018-10-23Muse writer: do not insert newline before listsAlexander Krotov1-3/+3
2018-10-23Muse writer: code cleanupAlexander Krotov1-4/+2
2018-10-22Reduce code duplication in Muse writerAlexander Krotov1-34/+18
2018-10-22hlint Muse writerAlexander Krotov1-5/+3
2018-10-21Muse writer: use lightweight markup after </em> tagAlexander Krotov1-0/+1
2018-10-09hlint Muse writerAlexander Krotov1-4/+4
2018-09-16Muse writer: replace newlines in strings with spacesAlexander Krotov1-1/+7
2018-09-16Muse writer: output headers without asterisks if not on the top levelAlexander Krotov1-2/+3
2018-09-12Muse writer: never wrap definition list termsAlexander Krotov1-1/+1
2018-09-11Muse writer: set envInsideBlock = True when rendering notesAlexander Krotov1-1/+2
2018-09-11Muse writer: use "" instead of [] for empty StringAlexander Krotov1-1/+1
2018-09-11Muse writer: check for whitespace in the beginning and end of Str'sAlexander Krotov1-0/+2
2018-09-11Muse writer: escape -, ; and > in the beginning of stringsAlexander Krotov1-3/+6
2018-09-11Muse writer: escape list markers in the beginning of notesAlexander Krotov1-1/+4
2018-09-11Muse writer: normalize inline list before testing if tags should be usedAlexander Krotov1-19/+18
2018-09-11Muse writer: use tags instead of lightweight markup for empty stringsAlexander Krotov1-4/+9
2018-09-02Muse writer: hlintAlexander Krotov1-4/+4
2018-09-02Muse writer: use lightweight markup when possibleAlexander Krotov1-19/+123
2018-09-02Muse writer: add more commentsAlexander Krotov1-2/+2
2018-09-02Muse writer: escape empty stringsAlexander Krotov1-1/+2
This guarantees that conditionalEscapeString never returns empty string.
2018-09-01Muse writer: wrap conditionalEscapeString result into "Muse" typeAlexander Krotov1-22/+28
This removes the need to pass envInsideLinkDescription to it.
2018-09-01Muse writer: separate "shouldEscapeString" functionAlexander Krotov1-6/+11
2018-08-31Muse writer: simplify inline list renderingAlexander Krotov1-15/+12
2018-05-07Muse writer: add support for left-align and right-align classesAlexander Krotov1-2/+8
Address issue #4542
2018-04-16hlint Muse writerAlexander Krotov1-4/+3
2018-04-16Muse writer: simplify isHorizontalRuleAlexander Krotov1-3/+1
2018-04-16Muse writer: escape definition list terms starting with list markersAlexander Krotov1-6/+7
2018-04-15Muse writer: escape strings starting with spaceAlexander Krotov1-1/+5
2018-04-10Muse writer: escape > less oftenAlexander Krotov1-1/+2
> 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 Krotov1-5/+10
2018-04-09Muse writer: fix Haddock commentAlexander Krotov1-1/+1
2018-04-09Muse writer: correctly output empty headingsAlexander Krotov1-2/+1
2018-04-05Muse writer: escape horizontal rule only if at the beginning of the lineAlexander Krotov1-3/+8
2018-04-05Muse writer: simplify escaping in inlineToMuse Image{}Alexander Krotov1-2/+1
2018-04-03Muse writer: rewrite noteToMuse without doAlexander Krotov1-4/+4