aboutsummaryrefslogtreecommitdiff
path: root/pandoc-server/src
AgeCommit message (Collapse)Author
2022-11-09pandoc-server: add ContentType to CORS policy.John MacFarlane
See #8427.
2022-11-08Add simple CORS support to pandoc-server.John MacFarlane
Closes #8427.
2022-10-15Minor code cleanups.John MacFarlane
2022-10-08[API Change] Change argument type of `getReader`, `getWriter`.Albert Krewinkel
The functions now take a `FlavoredFormat` instead of a text argument.
2022-10-08[API Change] Add new module "Text.Pandoc.Format"Albert Krewinkel
The module provides functions and types for format spec parsing and processing. The function `parseFormatSpec` was moved from Text.Pandoc.Extensions to the new module and renamed to `parseFlavoredFormat`. It now operates in a PandocMonad and is based on the updated types.
2022-09-30[API Change] Rename `pandocVersion` to `pandocVersionText`...Albert Krewinkel
and add a new `pandocVersion` value with type `Version`. This is consistent with the type used for `pandocTypesVersion` and allows to use the value where a Version type is required.
2022-09-29Remove deprecated option `--strip-empty-paragraphs`.John MacFarlane
2022-09-27T.P.Server: remove `parseServerOpts`.John MacFarlane
[API change] We only use `parseServerOptsFromArgs`.
2022-09-27pandoc-server: minor code simplification.John MacFarlane
2022-09-27pandoc-cli: support "lua" and "serve" as commandsAlbert Krewinkel
Pandoc behaves like `pandoc-lua` and `pandoc-server` if the first argument is `lua` and `serve`, respectively.
2022-09-22Split pandoc-server, pandoc-cli into separate packages. (#8309)John MacFarlane
This also removes the unnecessary Setup.hs from pandoc. Cabal does not need this with build-type 'simple'.