Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-03-18 | Comment out Muse reader round-trip test. | John MacFarlane | 1 | -3/+4 | |
It fails too often. Perhaps a separate test program should be used to hunt for round-trip bugs. | |||||
2018-03-18 | Use NoImplicitPrelude and explicitly import Prelude. | John MacFarlane | 1 | -0/+2 | |
This seems to be necessary if we are to use our custom Prelude with ghci. Closes #4464. | |||||
2018-03-17 | hlint fixes. | John MacFarlane | 1 | -1/+1 | |
2018-03-12 | Muse reader: compare first rewrite to the second in round-trip test | Alexander Krotov | 1 | -4/+2 | |
2018-03-12 | Muse reader: require closing tag to have the same indentation as opening | Alexander Krotov | 1 | -0/+18 | |
2018-03-12 | Muse reader: do not reparse blocks inside unclosed block tag | Alexander Krotov | 1 | -0/+18 | |
Fixes #4425 | |||||
2018-03-10 | Muse reader: parse <class> tag | Alexander Krotov | 1 | -0/+3 | |
<class> tag is supported by Emacs Muse | |||||
2018-03-07 | Muse reader: do not produce empty Str element for unindented verse lines | Alexander Krotov | 1 | -0/+1 | |
2018-03-03 | Muse reader: fix indentation requirements for footnote continuations | Alexander Krotov | 1 | -0/+10 | |
2018-03-02 | Muse reader: enable <literal> tags even if amuse extension is enabled | Alexander Krotov | 1 | -9/+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-02 | Muse reader: do not consume whitespace while looking for closing end tag | Alexander Krotov | 1 | -0/+11 | |
Fix for a bug caught by round-trip test. | |||||
2018-03-02 | Muse reader: convert alphabetical list markers to decimal in round-trip test | Alexander Krotov | 1 | -0/+2 | |
Alphabetical lists are an addition of Text::Amuse. They are not present in Emacs Muse and can be ambiguous when list starts with "i.", "c." etc. | |||||
2018-02-28 | Muse reader: add test for verse tag with one empty line | Alexander Krotov | 1 | -0/+6 | |
2018-02-28 | Muse reader: allow <quote> and other tags to be indented | Alexander Krotov | 1 | -0/+6 | |
2018-02-24 | Muse reader: allow single colon in definition list term | Alexander Krotov | 1 | -0/+3 | |
2018-02-23 | Muse reader: improve verse parsing | Alexander Krotov | 1 | -0/+11 | |
Now verse marked up with ">" (in contrast to <verse> tag) can be placed inside lists. | |||||
2018-02-16 | Muse reader: prioritize lists with roman numerals over alphabetical lists | Alexander Krotov | 1 | -0/+12 | |
This is to make sure "i." starts a roman numbered list, instead of a list with letter "i" (followed by "j", "k", ..."). | |||||
2018-02-15 | Muse reader: fix directive parsing | Alexander Krotov | 1 | -0/+15 | |
This fixes bugs introduced in commit 4bfab8f04c105f111d8d4e1c3ed7f7b5c75dbd19. | |||||
2018-02-13 | Muse reader: parse definition lists with multiple descriptions | Alexander Krotov | 1 | -7/+20 | |
2018-02-12 | Muse reader: refactor to avoid reparsing | Alexander Krotov | 1 | -1/+40 | |
Lists are parsed in linear instead of exponential time now. Contents of block tags, such as <quote>, is parsed directly, without storing it in a string and parsing with parseFromString. Fixed a bug: headers did not terminate lists. | |||||
2018-02-12 | Muse reader: paragraph indentation does not indicate nested quote | Alexander Krotov | 1 | -0/+6 | |
Muse allows indentation to indicate quotation or alignment, but only on the top level, not within a <quote> or list. This patch also simplifies the code by removing museInQuote and museInList fields from the state structure. Headers and indented paragraphs are attempted to be parsed only at the topmost level, instead of aborting parsing with guards. | |||||
2018-02-11 | Muse reader: test empty quote tag | Alexander Krotov | 1 | -0/+5 | |
2018-02-11 | Muse reader: require that block tags are on separate lines | Alexander Krotov | 1 | -19/+26 | |
Text::Amuse already explicitly requires it anyway. Supporting block tags on the same line as contents makes it hard to combine closing tag parsers with indentation parsers. Being able to combine parsers is required for no-reparsing refactoring of Muse reader. | |||||
2018-02-05 | Muse reader: test that two blank lines after verse can separate list items | Alexander Krotov | 1 | -0/+21 | |
Unlike paragraph and <quote> tag parsers, verse parser consumes newline. For this reason only three or more blank lines can separate list items. | |||||
2018-02-05 | Muse reader: test that lists can be separated with two blanklines after ↵ | Alexander Krotov | 1 | -0/+27 | |
blockquote Existing tests only checked this for paragraphs. | |||||
2018-01-28 | Muse reader: fix parsing of trailing whitespace | Alexander Krotov | 1 | -0/+6 | |
Newline after whitespace now results in softbreak instead of space. | |||||
2018-01-24 | Muse reader: fix matching of closing inline tags | Alexander Krotov | 1 | -0/+3 | |
2018-01-20 | Muse reader: remove multiple descriptions during round-trip tests | Alexander Krotov | 1 | -0/+6 | |
2018-01-20 | Muse reader: enable definition lists in round-trip test | Alexander Krotov | 1 | -3/+2 | |
2018-01-19 | hlint code improvements. | John MacFarlane | 1 | -3/+3 | |
2018-01-20 | Muse reader: fix parsing of nested definition lists | Alexander Krotov | 1 | -1/+11 | |
2018-01-19 | Muse reader: require only one space for nested definition list indentation | Alexander Krotov | 1 | -0/+3 | |
2018-01-19 | Muse reader: parse definition list terms without parseFromString | Alexander Krotov | 1 | -0/+2 | |
2018-01-18 | Muse reader: fix parsing of code at the beginning of paragraph | Alexander Krotov | 1 | -0/+3 | |
2018-01-18 | Muse reader: refactor definition list parsing | Alexander Krotov | 1 | -11/+0 | |
Test with wrong indentation is removed, because now it is parsed as nested lists. Emacs Muse and Text::Amuse don't have the same behavior anyway. | |||||
2018-01-18 | Muse reader: parse "~~" as non-breaking space in Text::Amuse mode | Alexander Krotov | 1 | -2/+2 | |
Latest Text::Amuse supports "~~" | |||||
2018-01-18 | Muse reader: refactor list parsing | Alexander Krotov | 1 | -17/+52 | |
Now list item contents is parsed as blocks, without resorting to parseFromString. Only the first line of paragraph has to be indented now, just like in Emacs Muse and Text::Amuse. Definition lists are not refactored yet. See also: issue #3865. | |||||
2017-12-30 | Muse reader: enable round trip test | Alexander Krotov | 1 | -10/+9 | |
Closes #4107 | |||||
2017-12-21 | Muse reader: parse anchors immediately after headings as IDs | Alexander Krotov | 1 | -0/+12 | |
2017-12-20 | Muse reader: require that note references does not start with 0 | Alexander Krotov | 1 | -0/+14 | |
2017-12-19 | Muse reader: parse empty comments correctly | Alexander Krotov | 1 | -0/+2 | |
2017-12-06 | hlint Muse reader and tests | Alexander Krotov | 1 | -4/+4 | |
2017-12-06 | Muse reader: add test for #disable-tables directive in Emacs mode | Alexander Krotov | 1 | -7/+13 | |
2017-12-06 | Muse reader: don't allow emphasis to be preceded by letter | Alexander Krotov | 1 | -0/+4 | |
2017-12-04 | Muse reader: add underline support in Emacs Muse mode | Alexander Krotov | 1 | -0/+4 | |
2017-11-29 | Muse reader: correctly remove indentation from notes | Alexander Krotov | 1 | -0/+8 | |
Exactly one space is required and considered to be part of the marker. | |||||
2017-11-28 | Temporarily disable round-trip block test for muse reader. | John MacFarlane | 1 | -4/+6 | |
See #4107. | |||||
2017-11-27 | Muse reader: parse "~~" as non-breaking space in Emacs mode | Alexander Krotov | 1 | -0/+3 | |
2017-11-27 | Muse reader: make code blocks round trip | Alexander Krotov | 1 | -5/+25 | |
2017-11-26 | Muse reader: drop common space prefix from list items | Alexander Krotov | 1 | -0/+18 | |