aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-10-10Make some writers sensitive to 'unlisted' class on headings.John MacFarlane4-7/+33
If this is present on a heading with the 'unnumbered' class, the heading won't appear in the TOC. This class has no effect if 'unnumbered' is not also specified. This affects HTML-based writers (including slide shows and epub), LateX (including beamer), RTF, and PowerPoint. Other writers do not yet support `unlisted`. Closes #1762.
2019-10-10Remove unnecessary import.John MacFarlane1-1/+0
2019-10-09--defaults: add .yaml extension if absent, look in user data dir...John MacFarlane1-13/+30
under "defaults" subdirectory.
2019-10-09T.P.App.Opt: rename optReader, optWriter as optFrom, optTo.John MacFarlane4-9/+9
This will allow to: and from: in defaults.
2019-10-09Make sure that input-files works in --default files.John MacFarlane1-1/+1
2019-10-09RST writer: proper handling of :align: on figures, images.John MacFarlane2-6/+34
When the image has the `align-right` (etc.) class, we now use an `:align:` attribute. Closes #4420.
2019-10-09Update s5 test for mathjax 3 change.John MacFarlane1-1/+1
2019-10-09Changes in try pandoczorkow1-1/+1
2019-10-09Basic changes for MathJax 3.zorkow2-2/+2
2019-10-09Update cabal.project to use dev version of doctemplates.John MacFarlane1-0/+5
2019-10-09Initial implementation of --defaults option.John MacFarlane2-3/+24
Need documentation.
2019-10-09T.P.App.Opt: Changed optMetadata to Meta, to allow structured values.John MacFarlane4-52/+48
[API change] The current behavior of the `--metadata` option stays the same.
2019-10-09Add HsYAML-aeson to build-dependsJohn MacFarlane1-0/+1
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