I'm pleased to announce the release of pandoc 3.1.10,
available in the usual places:
Binary packages & changelog:
https://github.com/jgm/pandoc/releases/tag/3.1.10
Source & API documentation:
http://hackage.haskell.org/package/pandoc-3.1.10
Some changes of note (in addition to many small improvements
and bug fixes):
* Henceforth the pandoc-cli version will be synced with the pandoc
version, so using cabal or stack to install pandoc-cli-3.1.10
will get you pandoc version 3.1.10. This means that we will always
release a new version of pandoc-cli when we release a new version
of pandoc.
* There is a new commonmark extension, alerts, that enables
GitHub style markdown alerts (warning, tip, etc.). This currently
doesn't work with pandoc's markdown, only with commonmark and variants. It is
enabled by default for gfm. For more on alerts, see
https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts .
* Typst support has been updated to typst v0.10.0 (though support is only
partial). Typst can now use CSL styles for citations (specify `csl`
in the metadata or as a variable when writing typst).
* Word styles now use "Footnote Block Text" instead of "Block Text" style
for block quotes inside footnotes. (This allows you to select a
smaller font, as might be appropriate for footnotes.)
* In HTML output, the doc-footnote aria-role is now used with the
aside element, and doc-endnotes with section. aside is only used
for notes at the ends of sections or blocks; if all the notes come
at the end of the document, section is used so we can have the
doc-endnotes role.
* In man and ms output, ASCII hyphens (-) are now backslash-escaped.
The `groff_man (7)` man page indicates that `-` characters will be
treated as typographic hyphens and are not appropriate for cases
where the output should be copy-pasteable as an
ASCII hyphen-minus character. (E.g. in command line options.)
However, until a recent update groff man did not actually do this;
it treated `-` and `\-` the same. With the new update (1.23.0)
the two are distinguished (see
https://lwn.net/Articles/947941/
for background), so now it is important that pandoc escape `-`.
* Better treatment of embedded SVGs.
API changes:
* Text.Pandoc.Extension: add Ext_alerts constructor for Extension.
* Text.Pandoc.Shared: export combineAttr.
Thanks to all who contributed or submitted bug reports, especially
new contributor Hikaru Ibayashi.