aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-10-09Change optVariables from [(String, String)] to Context Text.John MacFarlane4-27/+37
In Text.Pandoc.App.Opt [API change].
2019-10-09Options.WriterOptions: Change type of writerVariables to Context Text.John MacFarlane13-51/+136
This will allow structured values. [API change]
2019-10-08Use th to derive json instance for LineEnding.John MacFarlane1-16/+4
2019-10-07Text.Pandoc.Options: change To/FromJSON instances for...John MacFarlane2-9/+35
HTMLMathMethod, CiteMethod, ObfuscationMethod, TrackChanges, WrapOption, TopLevelDivision, ReferenceLocation, HTMLSlideVariant. In each case we use lowercase (or hyphenated lowercase) for constructors to line up more closely with command-line option values. This is a breaking change for those who manually decode or encode JSON for these data types (e.g. for ReaderOptions or WriterOptions). See #5790.
2019-10-07Shored.camelCaseToHyphenated: handle ABCDef = abc-def.John MacFarlane1-2/+8
2019-10-07Remove derive_json_via_th flag; always use TH.John MacFarlane7-104/+1
This cuts down on code duplication and reduces the chance for errors. See #4083.
2019-10-07Make derive_json_via_th flag false by defaultJohn MacFarlane2-2/+2
2019-10-07Remove misleading sentence in --variables documentation.John MacFarlane1-5/+2
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