Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-04-28 | Support new Underline element in readers and writers (#6277) | Vaibhav Sagar | 1 | -3/+3 | |
Deprecate `underlineSpan` in Shared in favor of `Text.Pandoc.Builder.underline`. | |||||
2020-04-15 | Use the new builders, modify readers to preserve empty headers | despresc | 1 | -2/+13 | |
The Builder.simpleTable now only adds a row to the TableHead when the given header row is not null. This uncovered an inconsistency in the readers: some would unconditionally emit a header filled with empty cells, even if the header was not present. Now every reader has the conditional behaviour. Only the XWiki writer depended on the header row being always present; it now pads its head as necessary. | |||||
2020-04-15 | Adapt to the newest Table type, fix some previous adaptation issues | despresc | 1 | -2/+2 | |
- Writers.Native is now adapted to the new Table type. - Inline captions should now be conditionally wrapped in a Plain, not a Para block. - The toLegacyTable function now lives in Writers.Shared. | |||||
2020-04-15 | Implement the new Table type | despresc | 1 | -2/+2 | |
2020-03-22 | Finer grained imports of Text.Pandoc.Class submodules (#6203) | Albert Krewinkel | 1 | -1/+1 | |
This should speed-up recompilation after changes in `Text.Pandoc.Class`, as the number of modules affected by a change will be smaller in general. It also offers faster insights into the parts of `T.P.Class` used within a module. | |||||
2020-03-15 | Use implicit Prelude (#6187) | Albert Krewinkel | 1 | -2/+0 | |
* Use implicit Prelude The previous behavior was introduced as a fix for #4464. It seems that this change alone did not fix the issue, and `stack ghci` and `cabal repl` only work with GHC 8.4.1 or newer, as no custom Prelude is loaded for these versions. Given this, it seems cleaner to revert to the implicit Prelude. * PandocMonad: remove outdated check for base version Only base versions 4.9 and later are supported, the check for `MIN_VERSION_base(4,8,0)` is therefore unnecessary. * Always use custom prelude Previously, the custom prelude was used only with older GHC versions, as a workaround for problems with ghci. The ghci problems are resolved by replacing package `base` with `base-noprelude`, allowing for consistent use of the custom prelude across all GHC versions. | |||||
2020-03-13 | Update copyright year (#6186) | Albert Krewinkel | 1 | -1/+1 | |
* Update copyright year * Copyright: add notes for Lua and Jira modules | |||||
2019-11-12 | Switch to new pandoc-types and use Text instead of String [API change]. | despresc | 1 | -69/+75 | |
PR #5884. + Use pandoc-types 1.20 and texmath 0.12. + Text is now used instead of String, with a few exceptions. + In the MediaBag module, some of the types using Strings were switched to use FilePath instead (not Text). + In the Parsing module, new parsers `manyChar`, `many1Char`, `manyTillChar`, `many1TillChar`, `many1Till`, `manyUntil`, `mantyUntilChar` have been added: these are like their unsuffixed counterparts but pack some or all of their output. + `glob` in Text.Pandoc.Class still takes String since it seems to be intended as an interface to Glob, which uses strings. It seems to be used only once in the package, in the EPUB writer, so that is not hard to change. | |||||
2019-10-15 | Muse reader: do not allow closing asterisks to be followed by "*" | Alexander Krotov | 1 | -2/+7 | |
2019-10-15 | Muse reader: do not split series of asterisks into symbols and emphasis | Alexander Krotov | 1 | -0/+7 | |
Fixes #5821 | |||||
2019-10-15 | Muse reader: do not terminate emphasis on "*" not followed by space | Alexander Krotov | 1 | -2/+1 | |
2019-10-04 | Fix all hlint warnings in Muse reader | Alexander Krotov | 1 | -2/+2 | |
2019-09-28 | Use Prelude.fail to avoid ambiguity with fail from GHC.Base. | John MacFarlane | 1 | -2/+2 | |
2019-08-26 | Use parseFromString' in Muse reader. | John MacFarlane | 1 | -1/+1 | |
Now that it is polymorphic, this is possible, and it's a better choice because it resets last string pos. | |||||
2019-08-26 | Fix inline parsing in grid table cells. | John MacFarlane | 1 | -1/+1 | |
* T.P.Parsing: Change type of `setLastStrPos` so it takes a `Maybe SourcePos` rather than a `SourcePos`. [API change] * T.P.Parsing: Make `parseFromString'` and `gridTableWith` and `gridTableWith'` polymorphic in the parser state, constraining it with `HasLastStrPosition`. [API change] Closes #5708. | |||||
2019-07-14 | Muse: add RTL support | Alexander Krotov | 1 | -0/+12 | |
Closes #5551 | |||||
2019-05-25 | Muse reader: allow images inside link descriptions | Alexander Krotov | 1 | -5/+4 | |
2019-03-01 | Remove license boilerplate. | John MacFarlane | 1 | -18/+0 | |
The haddock module header contains essentially the same information, so the boilerplate is redundant and just one more thing to get out of sync. | |||||
2019-02-18 | hlint Muse | Alexander Krotov | 1 | -1/+1 | |
2019-02-18 | Muse reader: add secondary note support | Alexander Krotov | 1 | -5/+11 | |
2019-02-04 | Add missing copyright notices and remove license boilerplate (#5112) | Albert Krewinkel | 1 | -2/+2 | |
Quite a few modules were missing copyright notices. This commit adds copyright notices everywhere via haddock module headers. The old license boilerplate comment is redundant with this and has been removed. Update copyright years to 2019. Closes #4592. | |||||
2018-12-31 | Remove unused HasHeaderMap (#5175) | Alexander | 1 | -6/+0 | |
It is updated by some readers, but never actually used. | |||||
2018-11-14 | Muse reader: trim whitespace before parsing grid table cells | Alexander Krotov | 1 | -2/+2 | |
2018-11-14 | Muse reader: add grid tables support | Alexander Krotov | 1 | -2/+31 | |
2018-10-28 | Muse reader: try to parse lists before trying to parse table | Alexander Krotov | 1 | -3/+3 | |
This ensures that tables inside lists are parsed correctly. | |||||
2018-10-27 | Muse reader: forbid whitespace after opening and before closing markup elements | Alexander Krotov | 1 | -4/+16 | |
See https://github.com/melmothx/text-amuse/issues/44 for discussion on these rules | |||||
2018-10-26 | Muse reader: parse page breaks | Alexander Krotov | 1 | -1/+9 | |
2018-10-24 | Muse reader: simplify museToPandocTable | Alexander Krotov | 1 | -6/+4 | |
to get rid of partial functions (head, tail, maximum) | |||||
2018-10-22 | Muse reader internals: remove unnecessary "skipSpaces" | Alexander Krotov | 1 | -1/+1 | |
2018-10-22 | Muse reader: allow footnotes to start with empty line | Alexander Krotov | 1 | -2/+3 | |
A space character was required after footnote marker, now newline is allowed. | |||||
2018-10-21 | Muse reader: make sure that the whole text is parsed | Alexander Krotov | 1 | -0/+1 | |
2018-10-21 | Muse reader: allow empty headers | Alexander Krotov | 1 | -7/+1 | |
Previously empty headers caused parser to terminate without parsing the rest of the document. | |||||
2018-10-17 | Muse reader: allow examples to be indented with tabs | Alexander Krotov | 1 | -8/+5 | |
2018-10-17 | Muse reader: remove indentation from examples indicated by {{{ and }}} | Alexander Krotov | 1 | -4/+7 | |
2018-10-16 | Muse reader: simplify "atStart" | Alexander Krotov | 1 | -5/+6 | |
2018-10-16 | Muse reader: code cleanup | Alexander Krotov | 1 | -33/+29 | |
2018-10-16 | Muse reader: simplify "commonPrefix" implementation | Alexander Krotov | 1 | -5/+1 | |
2018-10-16 | Muse reader: simplify emphasis parsing | Alexander Krotov | 1 | -17/+7 | |
2018-10-11 | Muse reader internals: don't use "choice" with static list | Alexander Krotov | 1 | -18/+16 | |
2018-10-11 | Muse reader: use indentWith to parse indentation | Alexander Krotov | 1 | -2/+2 | |
2018-10-11 | Muse reader: move museInPara from state to environment | Alexander Krotov | 1 | -34/+25 | |
2018-10-10 | Muse reader internals: merge link and explicit link parsers into one function | Alexander Krotov | 1 | -13/+5 | |
2018-10-10 | Muse reader: rewrite code parser in applicative style | Alexander Krotov | 1 | -8/+5 | |
2018-10-10 | Muse reader: fix parsing of empty cells | Alexander Krotov | 1 | -1/+1 | |
2018-10-10 | Muse reader: simplify table parsing | Alexander Krotov | 1 | -10/+6 | |
2018-10-09 | Get rid of mapLeft in Muse reader | Alexander Krotov | 1 | -3/+3 | |
2018-10-09 | Muse reader: rewrite parseHtmlContent, verseTag and lineBlock in applicative ↵ | Alexander Krotov | 1 | -18/+12 | |
style | |||||
2018-10-09 | Get rid of unnecessary bind "res" | Alexander Krotov | 1 | -2/+1 | |
2018-10-06 | Moved Haddock comment in Muse reader | Alexander Krotov | 1 | -4/+3 | |
2018-10-05 | Fixed haddock error in Muse reader. | John MacFarlane | 1 | -1/+2 | |