I'm pleased to announce the release of pandoc 3.8,
available in the usual places:
Binary packages & changelog:
https://github.com/jgm/pandoc/releases/tag/3.8
Source & API documentation:
http://hackage.haskell.org/package/pandoc-3.8
This release comes with many small improvements and a few larger ones.
Among the more visible changes:
+ A new input/output format xml, which exactly represents a pandoc
AST in a more easily human-readable form than JSON. The format is
documented in doc/xml.md, and schemas can be found in tools/pandoc-xml.*.
+ A new command line option --syntax-highlighting, which takes the
values 'none', 'default', 'idiomatic', a style name, or a path to
a theme file. --no-highlighting and --highlight-style are deprecated.
+ New extensions smart_quotes and special_strings for org mode.
These allow pandoc's parsing to more closely reproduce Emacs org-mode's
behavior.
+ The old compact_definition_lists extension has been removed.
API changes:
+ New modules Text.Pandoc.Readers.XML (exporting readXML) and
Text.Pandoc.Writers.XML (exporting writeXML).
+ Text.Pandoc.Extensions: added constructors Ext_smart_quotes,
Ext_special_strings; removed Ext_compact_definition_lists.
+ Text.Pandoc.App now exports versionInfo, a function that takes
three parameters that can be filled in by pandoc-cli.
+ Text.Pandoc.Parsing: tableWith and tableWith' now return
a list of lists of Blocks, allowing for multiple header rows.
+ Text.Pandoc.ImageSize: Add Point and Pica as constructors of
ImageSize. Add Avif constructor of ImageType.
+ Text.Pandoc.Class: CommonState is now opaque and does not support
its fields. To compensate for this, we now export several
new functions: getRequestHeaders, setRequestHeaders, getSourceURL,
getTrace.
Thanks to all who contributed, especially new contributors
Christopher Kenny, Erik Post, Repetitive, Reuben Thomas, Ryan Gibb,
Sean Soon, and massifrg.