aboutsummaryrefslogtreecommitdiff
path: root/pandoc-server
AgeCommit message (Collapse)Author
2025-09-06pandoc-server - bump to 0.1.1, change pandoc version bounds.John MacFarlane
2025-09-02Refactor highlighting options [API Change]Albert Krewinkel
A new command line option `--syntax-highlighting` is provided; it takes the values `none`, `default`, `idiomatic`, a style name, or a path to a theme file. It replaces the `--no-highlighting`, `--highlighting-style`, and `--listings` options. The `writerListings` and `writerHighlightStyle` fields of the `WriterOptions` type are replaced with `writerHighlightStyle`. Closes: #10525
2025-05-14Bump pandoc-server to 0.1.0.11John MacFarlane
2025-05-14pandoc-server.cabal: bump versions for container, pandoc.John MacFarlane
2025-02-09pandoc-server: use https: for git repo.John MacFarlane
2024-12-07Depend on typst 0.6.1John MacFarlane
2024-12-07Bump pandoc-server version to 0.1.0.10John MacFarlane
2024-10-28Bump upper bound for data-default.John MacFarlane
2024-10-05Bump version of pandoc-server to 0.1.0.9.John MacFarlane
2024-09-22Add support for list of figures (lof) and list of tables (lot) (#10029)Akash Patel
Two new command-line options are added: `--lof[=true|false]`, `--list-of-figures[=true|false]` `--lot[=true|false]`, `--list-of-tables[=true|false]` Only docx, latex, and context are supported at this point. Setting the `lof` and `lot` variables will also work for the formats that are currently supported. [API changes] + Lua: `list_of_figures` and `list_of_tables` can now be used in writer options. + Text.Pandoc.Options: add `writerListOfFigures` and `writerListOfTables` fields to `WriterOptions`. + Text.Pandoc.App.Opt: add `optListOfFigures` and `optListOfTables` to `Opt`. Closes #8245. Co-authored-by: John MacFarlane <[email protected]>
2024-09-09Bump pandoc-server to 0.1.0.8.John MacFarlane
2024-09-08Initialize some missing fields in pandoc-server.John MacFarlane
writerEpubTitlePage, writerChunkTemplate, writerListTables.
2024-09-08Finishing touches on `--link-images`:John MacFarlane
- Document in defaults file section of MANUAL. - Add to pandoc-lua-engine writer option marshalling. - Add to pandoc-server initialization of writer options.
2024-09-08pandoc-server: initialize caption position optionsJohn MacFarlane
2024-07-28Bump pandoc-server to 0.1.0.7, depend on latest pandocJohn MacFarlane
2024-06-08Update more copyright dates to 2024.Albert Krewinkel
2024-05-15pandoc-server: depend on pandoc >= 3.2.John MacFarlane
2024-05-15Bump pandoc-server to 0.1.0.6John MacFarlane
2024-05-10Collect transforms in new module T.P.Transforms. [API change]Albert Krewinkel
Bundles all document transformations, i.e., functions that run predefined filters on Pandoc documents.
2024-02-14Bump pandoc-server to 0.1.0.5 and allow containsers 0.7John MacFarlane
2023-12-11pandoc-server: bump to 0.1.0.4.John MacFarlane
2023-12-06pandoc-server: Switch from base64 to base64-bytestring.John MacFarlane
See #9233.
2023-08-31pandoc-server: allow text 2.1.pandoc-server-0.1.0.3John MacFarlane
2023-08-31Bump to pandoc-server 0.1.0.3John MacFarlane
2023-08-26Allow skylighting 0.14 (and require it in pandoc core).John MacFarlane
2023-08-06Bump pandoc-server version to 0.1.0.2.John MacFarlane
2023-08-06Bump dates, update dependencies.John MacFarlane
2023-06-26Bump pandoc-server to 0.1.0.1.pandoc-server-0.1.0.1John MacFarlane
2023-06-26Bump upper bound on servant-server.John MacFarlane
This is needed for compilation with ghc 9.6.
2023-01-13Require pandoc-types 1.23, update dependencies.John MacFarlane
This fails to build because pandoc-lua-marshal still needs updating.
2023-01-12CI: test with GHC 9.2.5 and 9.4.4Albert Krewinkel
2023-01-12Replace `--epub-chapter-level` with `--split-level`.John MacFarlane
Rationale: we need this splitting level now not just in EPUB but in chunked HTML. `--epub-chapter-level` will still function as a deprecated synonynm. `epub-chapter-level` will also continue to work in defaults files, ande `epub_chapter_level` will still work for Lua marshalling. [API changes] Text.Pandoc.App.Opt: remove `optEpubChapterLevel`, add `optSplitLevel`. Text.Pandoc.Options: remove `writerEpubChapterLevel`, add `writerSplitLevel`.
2022-11-21Use doctemplates 0.11.John MacFarlane
This avoids a transitive dependency on HsYAML, which we no longer use in pandoc.
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-29Bump pandoc version to 3.0.John MacFarlane
In light of the package splitting changes.
2022-09-28Bump version to 2.20, depend on >= 2.20 in pandoc-cli, pandoc-server.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'.