aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-10-07Remove redundant import.John MacFarlane1-1/+0
2019-10-07Use typeMismatch.John MacFarlane1-1/+2
2019-10-06T.P.App.Opt: custom FromJSON instance for LineEnding.John MacFarlane1-8/+17
So either CRLF or crlf will work.
2019-10-06Opt: Change optHighlightStyle to a Maybe String instead of Maybe Style.John MacFarlane3-24/+28
Do the parsing/loading of themes later, after option parsing.
2019-10-06Code cleanupJohn MacFarlane1-19/+23
2019-10-06Text.Pandoc.App.Opt: Remove optBaseHeaderLevel from Opt.John MacFarlane3-7/+2
We now just use optShiftHeadingLevelBy, to avoid redundancy.
2019-10-06Text.Pandoc.App.Opt: Change optShiftHeadingLevel to optShiftHeadingLevelBy...John MacFarlane3-4/+4
to match the option.
2019-10-06stack.yaml - added some missing flagsJohn MacFarlane1-0/+2
2019-10-06Text.Pandoc.App.Opt: more convenient To/FromJSON instances.John MacFarlane1-5/+9
Make the field names like `strip-empty-paragraphs` rather than `optStripEmptyParagraphs`.
2019-10-06Clarify that --dpi provides a default and doesn't override...John MacFarlane1-3/+6
dpi values specified in the images themselves. See #5721.
2019-10-05release-candidate.yml: add zip for windows.John MacFarlane1-0/+2
2019-10-05Update release-candidate.yml for GitHub actions.John MacFarlane1-43/+82
Adds builds for macos and for both 32- and 64-bit windows.
2019-10-04windows rc: build 32- and 64-bit msi.John MacFarlane1-6/+17
2019-10-04linux tarball: add architecture -amd64 to filename.John MacFarlane1-1/+1
Now it will be: pandoc-VERSION-linux-ARCH.tar.gz
2019-10-04hlint Muse writerAlexander Krotov1-1/+1
2019-10-04hlint Muse reader testsAlexander Krotov1-1/+1
2019-10-04hlint FB2 readerAlexander Krotov1-1/+1
2019-10-04Fix all hlint warnings in Muse readerAlexander Krotov1-2/+2
2019-10-04Fix compiler warnings on ghc 8.8.John MacFarlane1-21/+12
2019-10-04Require haddock-library >= 1.8John MacFarlane2-1/+2
2019-10-03Enable ghc 8.8 on ci.John MacFarlane1-2/+2
2019-10-03Minor ghc 8.8 fixups.John MacFarlane3-5/+8
2019-10-03Use texmath 0.11.3John MacFarlane2-2/+2
2019-10-03Don't use -Wnoncanonical-monadfail-instances which is deprecated in ghc 8.8.John MacFarlane1-6/+0
2019-10-03Allow latest haddock-library.John MacFarlane1-1/+1
2019-10-03PR corrections.Wandmalfarbe1-1/+1
2019-10-03Add documentation for the variable `hyperrefoptions`.Wandmalfarbe1-0/+11
2019-10-03Use latest skylighting.John MacFarlane2-4/+4
2019-10-03Add additional listings languages.Wandmalfarbe1-0/+6
2019-10-02ci: fix linux path.John MacFarlane1-1/+1
2019-10-02ci: properly fail if warnings on linux build.John MacFarlane1-1/+1
2019-10-02ci: we don't need to install cabal/ghc manually, it seems.John MacFarlane1-5/+0
2019-10-02CI tweaks.John MacFarlane1-2/+2
2019-09-30Use latest skylighting-core.John MacFarlane1-1/+2
Closes #5776.
2019-09-30Use skylighting >= 0.8.2.2.John MacFarlane2-3/+3
2019-09-30Regenerate README.md.John MacFarlane1-0/+2
2019-09-30Add badge for CI tests.John MacFarlane1-0/+1
2019-09-29Fix trypandoc with getReader/getWriter changes.John MacFarlane1-2/+2
2019-09-29Fix benchmarks so they compile again.John MacFarlane1-13/+15
2019-09-29Minor reformatting of exit code table.John MacFarlane1-23/+24
2019-09-29MANUAL: Use a table for exit codes.John MacFarlane1-23/+25
2019-09-29MANUAL: Put all template variable docs into one section.John MacFarlane1-34/+38
2019-09-29MANUAL.txt - use axt headers consistently.John MacFarlane1-163/+85
2019-09-29MANUAL.txt: Add fuller documentation of templates.John MacFarlane2-84/+274
Including new template syntax, partials, etc. Closes #5779.
2019-09-29Update changelog.John MacFarlane1-4/+31
2019-09-29RST reader: don't strip final underscore from absolute URI.John MacFarlane1-3/+7
Partially addresses #5763.
2019-09-29Raise error on unsupported extensions. Closes #4338.John MacFarlane9-72/+263
+ An error is now raised if you try to specify (enable or disable) an extension that does not affect the given format, e.g. `docx+pipe_tables`. + The `--list-extensions[=FORMAT]` option now lists only extensions that affect the given FORMAT. + Text.Pandoc.Error: Add constructors `PandocUnknownReaderError`, `PandocUnknownWriterError`, `PandocUnsupportedExtensionError`. [API change] + Text.Pandoc.Extensions now exports `getAllExtensions`, which returns the extensions that affect a given format (whether enabled by default or not). [API change] + Text.Pandoc.Extensions: change type of `parseFormatSpec` from `Either ParseError (String, Extensions -> Extensions)` to `Either ParseError (String, [Extension], [Extension])` [API change]. + Text.Pandoc.Readers: change type of `getReader` so it returns a value in the PandocMonad instance rather than an Either [API change]. Exceptions for unknown formats and unsupported extensions are now raised by this function and need not be handled by the calling function. + Text.Pandoc.Writers: change type of `getWriter` so it returns a value in the PandocMonad instance rather than an Either [API change]. Exceptions for unknown formats and unsupported extensions are now raised by this function and need not be handled by the calling function.
2019-09-28More throwError in place of fail.John MacFarlane2-1/+3
2019-09-28Replace some more fails with throwErrors.John MacFarlane3-4/+9
2019-09-28Use throwError instead of fail when appropriate.John MacFarlane3-6/+14