pandoc 2.19.1
Click to expand changelog
-
Add server capabilities.
- New exported module Text.Pandoc.Server [API change].
- The pandoc executable now starts up a web server when renamed or symlinked as
pandoc-server
, and functions as a CGI program when renamed or symlinked aspandoc-server.cgi
. See the man page forpandoc-server
for full documentation.
-
Text.Pandoc.App.Opts: Redo
FromJSON
forOpt
so that optional values can be omitted (in which case the values fromdefaultOptions
are used). -
Org reader: treat “abstract” block as metadata (Albert Krewinkel, #8204). A block of type “abstract” is assumed to define the document’s abstract. It is transferred from the main text to the metadata.
-
Org template: add abstract from metadata as block of type “abstract” (#8204).
-
HTML writer: use
flex
property for column widths (Albert Krewinkel, #8232). -
LaTeX writer:
-
LaTeX template: fix behavior of
colorlinks
variable (Albert Krewinkel, #8226). Fixes a regression in 2.19 that required theboxlinks
variable to be set in addition to the usual link coloring variables. Otherwise links were never colored in LaTeX PDF output. -
Text.Pandoc.Highlighting: Export
lookupHighlightingStyle
[API change]. Previously this lived in an unexported module Text.Pandoc.App.CommandLineOptions, under the namelookupHighlightStyle
. -
Text.Pandoc.App:
- Remove unneeded MonadIO constraints in readSources.
- Factor out
convertWithOpts'
fromconvertWithOpts
. This runs in any PandocMonad, MonadIO, MonadMask instance. So far it is not exported, but it might find a use later.
-
Support
--strip-comments
in commonmark/gfm (#8222). This change makes the commonmark reader sensitive toreaderStripComments
. -
Lua: add function
pandoc.utils.citeproc
(Albert Krewinkel). The function runs the citeproc processor on a Pandoc document. Exposing this functionality to Lua allows to make citation processing part of a filter or writer, simplifies the creation of multiple bibliographies, and enables the use of varying citation styles in different parts of a document. -
Refactor
linux/make_artifacts.sh
. -
Update INSTALL.md installation from source instructions.
-
Use base64 package instead of base64-bytestring. It is supposed to be faster and more standards-compliant.
-
trypandoc improvements:
- Add dropdown with canned examples.
- Add citeproc support.
- Support csv, bibliographic and binary formats.
- Add load from file.
- Add permalink. Don’t always reload page.
- Use vanilla JS and CSS + the new
pandoc-server.cgi
.
-
Allow haddock-library-1.11.0.
-
Convert
tool/extract-changes.hs
to a Lua filter.