aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
AgeCommit message (Collapse)AuthorFilesLines
2017-11-29Support beamer `\alert` in LaTeX reader. Closes #4091.John MacFarlane1-0/+1
2017-11-29Muse reader: correctly remove indentation from notesAlexander Krotov1-2/+2
Exactly one space is required and considered to be part of the marker.
2017-11-27Muse reader: parse "~~" as non-breaking space in Emacs modeAlexander Krotov1-0/+7
2017-11-27Muse reader: make code blocks round tripAlexander Krotov1-8/+16
2017-11-26Muse reader: drop common space prefix from list itemsAlexander Krotov1-11/+17
2017-11-25Fix comment typo: s/elemnet/element/Alexander Krotov1-1/+1
2017-11-25Muse reader: don't interpret XML entitiesAlexander Krotov1-6/+5
2017-11-25Muse reader: remove `nested`Alexander Krotov1-11/+2
2017-11-24Muse reader: parse markup in definition list termsAlexander Krotov1-2/+4
2017-11-24Muse reader: allow definition to end with EOFAlexander Krotov1-1/+1
2017-11-24Muse: move inline list normalization to writerAlexander Krotov1-18/+4
2017-11-22Org reader: allow empty list itemsAlbert Krewinkel2-45/+42
Fixes: #4090
2017-11-22Muse reader: allow list items to be emptyAlexander Krotov1-2/+2
2017-11-22Muse reader: don't allow blockquotes within listsAlexander Krotov1-1/+2
2017-11-22Muse reader: fix reading of multiline definitionsAlexander Krotov1-2/+2
2017-11-22Muse reader: concatenate inlines of the same typeAlexander Krotov1-4/+18
2017-11-21Muse reader: add inline <literal> supportAlexander Krotov1-0/+11
2017-11-21Muse reader: chop newlines after <literal> and before </literal>Alexander Krotov1-9/+13
2017-11-21Muse reader: <literal> has "style" attribute, not "format"Alexander Krotov1-1/+2
2017-11-19Muse reader: count only one space as part of list item markerAlexander Krotov1-2/+2
2017-11-19Muse reader: produce SoftBreaks on newlinesAlexander Krotov1-18/+28
Now wrapping can be preserved with --wrap=preserve
2017-11-18HTML reader: ensure we don't produce level 0 headers,John MacFarlane1-5/+5
even for chapter sections in epubs. This causes problems because writers aren't set up to expect these. This fixes the most immediate problem in #4076. It would be good to think more about how to propagate the information that top-level headers are chapters from the reader to the writer.
2017-11-18Muse reader: Add Text::Amuse footnote extensionsAlexander Krotov1-6/+29
Footnote end is indicated by indentation, so footnotes can be placed anywhere in the text, not just at the end of it.
2017-11-16Introduce `HasSyntaxExtensions` typeclass (#4074)Alexander1-13/+9
+ Added new `HasSyntaxExtensions` typeclass for `ReaderOptions` and `WriterOptions`. + Reimplemented `isEnabled` function from `Options.hs` to accept both `ReaderOptions` and `WriterOptions`. + Replaced `enabled` from `CommonMark.hs` with new `isEnabled`.
2017-11-15Creole reader: Fix performance issue for longer lists. (#4075)Sascha Wilde1-1/+1
Fixes #4067.
2017-11-14RST reader: better support for 'container' directive.John MacFarlane1-1/+3
Create a div, incorporate name attribute and classes. Closes #4066.
2017-11-13LaTeX reader: allow optional arguments on `\footnote`.John MacFarlane1-2/+2
Closes #4062.
2017-11-13Replace "emacs" extension with "amuse" extensionAlexander Krotov1-1/+1
It makes clear that extension is related to Muse markup.
2017-11-12Fix comment that confuses haddock.John MacFarlane1-1/+1
2017-11-12LaTeX reader: support column specs like `*{2}{r}`.John MacFarlane1-3/+13
This is equivalent to `rr`. We now expand it like a macro. Closes #4056.
2017-11-12LaTeX reader: allow optional args for parbox.John MacFarlane1-1/+1
See #4056.
2017-11-12Muse reader: accept Emacs Muse definition listsAlexander Krotov1-1/+2
Emacs Muse does not require indentation.
2017-11-11Fixed YAML metadata with "chomp" (`|-`).John MacFarlane1-2/+2
Previously if a YAML block under `|-` contained a blank line, pandoc would not parse it as metadata.
2017-11-11MediaWiki reader: hlintAlexander Krotov1-13/+13
2017-11-10Txt2Tags reader: hlintAlexander Krotov1-27/+25
2017-11-10Vimwiki reader: hlintAlexander Krotov1-17/+17
2017-11-09Allow fenced code blocks to be indented 1-3 spaces.John MacFarlane1-2/+6
This brings our handling of them into alignment with CommonMark's. Closes #??.
2017-11-10HTML reader: hlintAlexander Krotov1-31/+30
2017-11-06Spellcheck commentsAlexander Krotov2-6/+6
2017-11-02hlintAlexander Krotov6-27/+24
2017-11-01Really fix #3989.John MacFarlane1-5/+12
The previous fix only worked in certain cases. Other cases with `>` in an HTML attribute broke.
2017-11-01hlintAlexander Krotov2-6/+6
2017-10-31Fixed regression in parsing of HTML comments in markdown...John MacFarlane1-2/+3
and other non-HTML formats (`Text.Pandoc.Readers.HTML.htmlTag`). The parser stopped at the first `>` character, even if it wasn't the end of the comment. Closes #4019.
2017-11-01Merge pull request #4018 from swilde/creole-fixesJohn MacFarlane1-5/+7
Creole Reader: fix lists with triling white space
2017-10-31Creole reader: fixed some minor typos and formatting.Sascha Wilde1-4/+5
2017-10-31LaTeX reader: handle `%` comment right after command.John MacFarlane1-1/+1
For example \emph% {hi}
2017-10-31Markdown reader: make sure fenced div closers work in lists.John MacFarlane1-3/+11
Previously the following failed: ::: {.class} 1. one 2. two ::: and you needed a blank line before the closing `:::`.
2017-10-31Creole reader: fixed lists with trailing white space.Sascha Wilde1-1/+2
2017-10-30LaTeX reader: insert space when needed in macro expansion.John MacFarlane1-1/+8
Sometimes we need to insert a space after a control sequence to prevent it merging with a following letter. Closes #4007.
2017-10-30Allow unbraced arguments for macros.John MacFarlane1-8/+8
See #4007.