aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/Muse.hs
AgeCommit message (Collapse)AuthorFilesLines
2018-05-27Muse reader: parse links starting with "URL:" explicitlyAlexander Krotov1-12/+19
instead of trying to strip "URL:" prefix after parsing.
2018-04-26Muse reader: allow nested footnotesAlexander Krotov1-1/+1
2018-04-26Muse reader: use Data.Map.member instead of lookupAlexander Krotov1-3/+3
2018-04-19Muse reader: allow "-" in anchorsAlexander Krotov1-1/+1
2018-04-16Muse reader: allow verse to be indentedAlexander Krotov1-0/+1
Muse writer indents verse blocks in definition list more than necessary, so Muse reader should parse them.
2018-04-16Muse reader code cleanupAlexander Krotov1-20/+9
2018-04-15Muse reader: don't allow footnote references inside linksAlexander Krotov1-0/+2
2018-04-15Muse reader: allow URL to be emptyAlexander Krotov1-1/+1
Muse writer can write links with empty URLs, so Muse reader should read them.
2018-04-15Muse reader: require that comment semicolons are in the first columnAlexander Krotov1-0/+1
Fixes #4551
2018-04-09Muse reader: add support for Text:Amuse multiline headingsAlexander Krotov1-9/+33
2018-04-09Muse reader: remove redundant bracketsAlexander Krotov1-1/+1
2018-04-08Muse reader: replace foldl with foldrAlexander Krotov1-7/+7
2018-04-08Muse reader: move F out of MuseTableElement definitionAlexander Krotov1-31/+23
2018-04-08Muse reader: document implementationAlexander Krotov1-93/+136
2018-04-07Muse reader: replace pattern matching with "when"Alexander Krotov1-7/+5
2018-04-07Muse reader: don't return link title from linkText parserAlexander Krotov1-6/+6
Title is always empty in Muse anyway.
2018-04-07Muse reader: add support for <biblio> and <play> tagsAlexander Krotov1-2/+15
2018-04-07Muse reader: replace returnF with return . returnAlexander Krotov1-1/+1
2018-04-03Muse reader: code cleanupAlexander Krotov1-34/+17
2018-04-03Muse reader: rewrite museOrderedListMarker without "do"Alexander Krotov1-10/+9
2018-04-03Muse reader: refactor parseAnchorAlexander Krotov1-3/+1
2018-04-03Muse reader: rewrite parseDirectiveKey without doAlexander Krotov1-3/+1
2018-04-02Muse reader: add <math> tag supportAlexander Krotov1-0/+5
2018-04-02Muse writer: place header IDs before headerAlexander Krotov1-2/+2
See https://github.com/melmothx/text-amuse/issues/39
2018-03-26Cleanup Muse reader and writerAlexander Krotov1-37/+19
2018-03-25Muse reader: allow links to have empty descriptionsAlexander Krotov1-1/+1
2018-03-25Muse reader: require block <literal> tags to be on separate linesAlexander Krotov1-2/+8
2018-03-18Use NoImplicitPrelude and explicitly import Prelude.John MacFarlane1-0/+2
This seems to be necessary if we are to use our custom Prelude with ghci. Closes #4464.
2018-03-12Muse reader: make parseBlocks similar to parseBlocksTillAlexander Krotov1-4/+4
2018-03-12Muse reader: require closing tag to have the same indentation as openingAlexander Krotov1-1/+2
2018-03-12Muse reader: do not reparse blocks inside unclosed block tagAlexander Krotov1-4/+4
Fixes #4425
2018-03-10Muse reader: parse <class> tagAlexander Krotov1-0/+8
<class> tag is supported by Emacs Muse
2018-03-07Muse reader: do not produce empty Str element for unindented verse linesAlexander Krotov1-2/+3
2018-03-03Muse reader: fix indentation requirements for footnote continuationsAlexander Krotov1-2/+2
2018-03-02hlint Muse reader and writerAlexander Krotov1-2/+2
2018-03-02Muse reader: enable <literal> tags even if amuse extension is enabledAlexander Krotov1-2/+0
Amusewiki disables <literal> tags for security reasons. If user wants similar behavior in pandoc, RawBlocks and RawInlines can be removed or replaced with filters.
2018-03-02Muse reader: remove space prefix from <literal> tag contentsAlexander Krotov1-6/+3
2018-03-02Muse reader: do not consume whitespace while looking for closing end tagAlexander Krotov1-1/+1
Fix for a bug caught by round-trip test.
2018-02-28Muse reader: allow <quote> and other tags to be indentedAlexander Krotov1-2/+3
2018-02-24Muse reader: allow single colon in definition list termAlexander Krotov1-1/+1
2018-02-23Muse reader: improve verse parsingAlexander Krotov1-1/+2
Now verse marked up with ">" (in contrast to <verse> tag) can be placed inside lists.
2018-02-21Muse reader: replace setState with updateState where possibleAlexander Krotov1-18/+9
2018-02-20Muse reader: fix compiler warningJesse Rosenthal1-1/+1
lambda variable `st` shadowed an existing variable.
2018-02-20Muse reader: use updateState instead of setState to restore museInLinkAlexander Krotov1-1/+1
2018-02-19Move manyUntil to Text.Pandoc.Parsing and use it in Txt2Tags readerAlexander Krotov1-14/+0
2018-02-16Muse reader: prioritize lists with roman numerals over alphabetical listsAlexander Krotov1-1/+1
This is to make sure "i." starts a roman numbered list, instead of a list with letter "i" (followed by "j", "k", ...").
2018-02-15Muse reader: fix directive parsingAlexander Krotov1-3/+1
This fixes bugs introduced in commit 4bfab8f04c105f111d8d4e1c3ed7f7b5c75dbd19.
2018-02-13Muse reader: remove listItemContents functionAlexander Krotov1-12/+8
2018-02-13Muse reader: hlintAlexander Krotov1-7/+7
2018-02-13Muse reader: parse definition lists with multiple descriptionsAlexander Krotov1-14/+25