ANN: pandoc 3.1.5

1 view
Skip to first unread message

John MacFarlane

unread,
Jul 7, 2023, 12:41:12 PM7/7/23
to pandoc-...@googlegroups.com, pandoc-...@googlegroups.com
I'm pleased to announce the release of pandoc 3.1.5,
available in the usual places:

Binary packages & changelog:
https://github.com/jgm/pandoc/releases/tag/3.1.5

Source & API documentation:
http://hackage.haskell.org/package/pandoc-3.1.5

The main focus of this release is improvements in the typst reader.
Typst 0.6 is now targeted, and quite a few bugs have been fixed.

All boolean command-line flags may now take an optional value
(true or false). So, instead of --standalone you can use
--standalone=true. This is convenient when you need to override
a boolean flag that is set in a defaults file.

There is also an important behavior change in the asciidoc writer.
The asciidoc output format now targets the dialect parsed by
asciidoctor, which the community now regards as the official
syntax, rather than the dialect parsed by asciidoc.py, the
legacy processor. If you want the old behavior, use the new
asciidoc_legacy format. The format asciidoctor will still work,
but it is now a deprecated synonym for asciidoc.

API changes:

* In Text.Pandoc.Writers.AsciiDoc:

- writeAsciiDoc now behaves like writeAsciiDoctor used to.
- writeAsciiDoctor is now a deprecated synonym for writeAsciiDoc.
- New function writeAsciiDocLegacy behaves like writeAsciDoc used to.

* In Text.Pandoc.Class: New exported function toTextM. This is like
Text.Pandoc.UTF8.toText, except that it takes a file path as first
argument, in addition to bytestring contents, and it raises an
informative error with source position if the contents are not
UTF8-encoded.

Thanks to all who contributed, especially new contributors
Sam S. Almahri, Kevin Broch, and pacien.


Reply all
Reply to author
Forward
0 new messages