I'm pleased to announce the release of pandoc 3.4,
available in the usual places:
Binary packages & changelog:
https://github.com/jgm/pandoc/releases/tag/3.4
Source & API documentation:
http://hackage.haskell.org/package/pandoc-3.4
Some changes of particular note (inspect changelog for the full list):
* New output format: ansi (for formatted console output).
* Add command line options --table-caption-position and
--figure-caption-position. These allow the user to specify whether
to put captions above or below tables and figures, respectively.
The following output formats are supported: HTML (and related such
as EPUB), LaTeX (and Beamer), Docx, ODT/OpenDocument, Typst.
* Change default --pdf-engine via HTML to WeasyPrint (#10142).
* --number-offsets now works with docx output.
API changes:
* New module: Text.Pandoc.Writers.ANSI, exporting writeANSI.
* Text.Pandoc.Options: Add CaptionPosition and new WriterOptions fields
writerFigureCaptionPosition and writerTableCaptionPosition.
* Text.Pandoc.Opt: Add Opt fields optFigureCaptionPosition and
optTableCaptionPosition.
* Text.Pandoc.Shared: Add makeSectionsWithOffsets. Remove
stripEmptyParagraphs.
* Text.Pandoc.Highlighting: Add formatANSI.
* Text.Pandoc.Writers.Shared: add toSubscriptInline, toSuperscriptInline.
Thanks to all who contributed, and a special welcome to new contributors
Evan Silberman (who created the ANSI writer and modified doclayout to
make it possible), Jonathan, Pau RE, Sebbones, Tristano Ajmone,
closeobserve, and thomjur.