aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/Muse.hs
AgeCommit message (Collapse)AuthorFilesLines
2018-09-19hlint Muse readerAlexander Krotov1-6/+5
2018-09-19Muse reader: get rid of HTML parser dependencyAlexander Krotov1-5/+13
2018-09-19Muse reader: use openTag and closeTag everywhereAlexander Krotov1-4/+4
2018-09-19Muse reader: make openTag return association listAlexander Krotov1-5/+5
2018-09-19Muse reader: add openTag and closeTag functionsAlexander Krotov1-18/+19
2018-09-02Muse reader: autonumber sections in the correct orderAlexander Krotov1-4/+16
Parsing now stops at each section header to ensure the header is registered before parsing of the next section starts.
2018-09-02Muse reader: move duplicate code into "headingStart" functionAlexander Krotov1-9/+10
2018-09-02Muse reader: allow newline after opening "*" or "**"Alexander Krotov1-1/+9
Emacs Muse allows this.
2018-08-31Muse reader: parse <verse> tag in one passAlexander Krotov1-8/+11
instead of using parseFromString. This change makes it possible to have verbatim </verse> tag inside verse.
2018-08-30Muse reader: hlintAlexander Krotov1-2/+2
2018-08-12Muse reader: don't allow digits after closing marker in lightweight markupAlexander Krotov1-2/+2
This change makes reader more compatible with Emacs Muse
2018-06-01Muse reader: get rid of non-exhaustive pattern match warningmb211-1/+1
2018-05-31Muse reader: add support for floating imagesAlexander Krotov1-6/+18
2018-05-31Muse reader: add support for images with specified widthAlexander Krotov1-4/+9
2018-05-30Muse reader: parse image URLs without "guard" and "takeExtension"Alexander Krotov1-5/+3
2018-05-28Muse reader: split link and image parsing into separate functionsAlexander Krotov1-10/+17
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