aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/Muse.hs
AgeCommit message (Collapse)AuthorFilesLines
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
2018-04-02hlint Muse writerAlexander Krotov1-6/+6
2018-04-02Muse writer: place header IDs before headerAlexander Krotov1-2/+1
See https://github.com/melmothx/text-amuse/issues/39
2018-04-01Muse writer: only escape brackets when necessaryAlexander Krotov1-11/+34
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 Krotov1-20/+34
2018-03-28Muse writer: implement Default for WriterStateAlexander Krotov1-8/+11
2018-03-28Muse writer: move options, stTopLevel and stInsideBlock to WriterEnvAlexander Krotov1-30/+33
2018-03-28Muse writer: define Muse typeAlexander Krotov1-16/+18
2018-03-28Muse writer: escape semicolons and markers after line breakAlexander Krotov1-1/+1
2018-03-26Cleanup Muse reader and writerAlexander Krotov1-5/+5
2018-03-25Muse writer: remove unused bindingAlexander Krotov1-6/+6
2018-03-25Muse writer: escape ordered list markersAlexander Krotov1-14/+52
Also reduced amount of <verbatim> tags in output to avoid escaping every "-" and word that ends in a full stop.
2018-03-25Muse writer: improve span writingAlexander Krotov1-3/+5
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 Krotov1-2/+1
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 Krotov1-4/+1
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 Krotov1-1/+2
2018-03-20Muse writer: remove key-value pairs from attributes before normalizationAlexander Krotov1-1/+8
2018-03-20Muse writer: escape ";" to avoid accidental commentsAlexander Krotov1-1/+2
2018-03-20Muse writer: escape "]" brackets in URLs as "%5D"Alexander Krotov1-2/+7
2018-03-18Use NoImplicitPrelude and explicitly import Prelude.John MacFarlane1-2/+4
This seems to be necessary if we are to use our custom Prelude with ghci. Closes #4464.
2018-03-17hlint fixes.John MacFarlane1-2/+2
2018-03-12Muse writer: support spans with anchorsAlexander Krotov1-3/+7
2018-03-07Muse writer: replace smallcaps with emphasis before normalizationAlexander Krotov1-2/+7
2018-03-07Muse writer: output smallcaps as emphasisAlexander Krotov1-1/+1
2018-03-07Muse writer: expand Cite before list normalizationAlexander Krotov1-6/+8
2018-03-07Muse writer: write empty inline lists as <verbatim></verbatim>Alexander Krotov1-2/+4
2018-03-07Muse writer: remove empty Str from the beginning of inline lists during ↵Alexander Krotov1-0/+2
normalization
2018-03-07Muse writer: escape "-" to avoid creating bullet listsAlexander Krotov1-1/+2
2018-03-06Muse writer: fix math expansion for more than one expression per paragraphAlexander Krotov1-1/+1
2018-03-05Muse writer: expand math before inline list normalizationAlexander Krotov1-3/+13
2018-03-02hlint Muse reader and writerAlexander Krotov1-1/+1
2018-03-02Muse writer: join strings during inline normalizationAlexander Krotov1-0/+2
2018-02-28Muse writer: change verse markupAlexander Krotov1-9/+2
Use "> " instead of <verse> tag
2018-02-28Muse writer: remove empty strings during inline normalizationAlexander Krotov1-0/+2
2018-02-23Muse writer: don't indent nested definition listsAlexander Krotov1-1/+3
2018-02-15Muse writer: use unicode quotes for quoted textAlexander Krotov1-2/+2
2018-02-03Muse writer: write image width specified in percent in Text::Amuse modeAlexander Krotov1-2/+7
2018-01-30Muse writer: don't wrap displayMath into <verse>Alexander Krotov1-5/+2
<verse> is a block tag and displayMath is an inline element. Writing <verse> around displayMath could result in nested <verse> tags.
2018-01-29Muse writer: escape nonbreaking space ("~~")Alexander Krotov1-1/+2
2018-01-22Muse writer: join code with different attributes during normalizationAlexander Krotov1-2/+2
2018-01-22Muse writer: indent lists inside DivAlexander Krotov1-1/+1
2018-01-19hlint code improvements.John MacFarlane1-1/+1
2018-01-19Muse writer: support definitions with multiple descriptionsAlexander Krotov1-4/+7
Muse reader does not support this syntax yet, but Emacs Muse parses it correctly.
2018-01-05Update copyright notices to include 2018Albert Krewinkel1-2/+2
2017-12-30Muse writer: don't escape URIs from ASTAlexander Krotov1-1/+1
2017-12-21Muse reader: parse anchors immediately after headings as IDsAlexander Krotov1-1/+1
2017-12-19Muse writer: don't wrap note references to the next lineAlexander Krotov1-1/+7
Closes #4172.
2017-11-24Muse writer: improve inline normalizationAlexander Krotov1-0/+14