aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/Muse.hs
AgeCommit message (Collapse)AuthorFilesLines
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
2017-11-24Muse: move inline list normalization to writerAlexander Krotov1-1/+9
2017-11-22Muse writer: escape hash symbolAlexander Krotov1-1/+1
2017-11-22Muse writer: escape "----" to avoid accidental horizontal rulesAlexander Krotov1-4/+6
2017-11-22Muse writer: escape only </code> inside code tagAlexander Krotov1-1/+1
Additional <verbatim> is not needed as <code> is verbatim already.
2017-08-08Muse writer: insert two blanklines between lists of the same type (#3844)Alexander1-1/+23
2017-07-12Muse writer: indent lists inside <quote> with at least one space (#3795)Alexander Krotov1-4/+11
2017-06-26Muse writer: fix hlint errors (#3764)Alexander Krotov1-17/+13
2017-06-20Writers: adjusted for renderTemplate' changes.John MacFarlane1-1/+1
Now we raise a proper error on template failure.
2017-06-17Use Control.Monad.State.Strict throughout.John MacFarlane1-1/+1
This gives 20-30% speedup and reduction of memory usage in most of the writers.
2017-06-11Switched Writer types to use Text.John MacFarlane1-4/+7
* XML.toEntities: changed type to Text -> Text. * Shared.tabFilter -- fixed so it strips out CRs as before. * Modified writers to take Text. * Updated tests, benchmarks, trypandoc. [API change] Closes #3731.
2017-05-07Muse writer: Indent tables with one space (#3649)Alexander Krotov1-2/+2
It is required to trigger Muse table rendering.
2017-05-04Muse writer: omit automatic header identifiers (#3633)Alexander Krotov1-1/+10
2017-04-28Muse writer: Do not reflow directives (#3614)Alexander Krotov1-2/+2
Directives at the beginning of documents cannot span multiple lines so they must not be reflown.
2017-03-10Add Muse writer (#3489)Alexander Krotov1-0/+336
* Add Muse writer * Advertise new Muse writer * Muse writer: add regressions tests