pandoc-types

Types for representing a structured document

http://johnmacfarlane.net/pandoc

Version on this page:1.12.4.2
LTS Haskell 22.41:1.23.1@rev:2
Stackage Nightly 2024-11-10:1.23.1@rev:2
Latest on Hackage:1.23.1@rev:2

See all snapshots pandoc-types appears in

BSD-3-Clause licensed by John MacFarlane
Maintained by [email protected]
This version can be pinned in stack with:pandoc-types-1.12.4.2@sha256:6afd82520a4555ddf13d3eccea1fead45908c7d6a10d0e465f4226baee5c7a8d,2332

Module documentation for 1.12.4.2

Text.Pandoc.Definition defines the Pandoc data structure, which is used by pandoc to represent structured documents. This module used to live in the pandoc package, but starting with pandoc 1.7, it has been split off, so that other packages can use it without drawing in all of pandoc's dependencies, and pandoc itself can depend on packages (like citeproc-hs) that use them.

Text.Pandoc.Builder provides functions for building up Pandoc structures programmatically.

Text.Pandoc.Generic provides generic functions for manipulating Pandoc documents.

Text.Pandoc.Walk provides faster, nongeneric functions for manipulating Pandoc documents.

Text.Pandoc.JSON provides functions for serializing and deserializing a Pandoc structure to and from JSON.