HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Moduleciteproc-0.14.1Haskell2010

Citeproc.CslJson

CSL JSON is the structured text format defined in https://citeproc-js.readthedocs.io/en/latest/csl-json/markup.html. It is used to represent formatted text inside CSL JSON bibliographies. For the most part it is a subset of HTML, with some special features like smart quote parsing. This module defines a parser and a renderer for this format, as well as CiteprocOutput and other typeclass instances.

  • 1 type
  • 3 values
  • Packageciteproc-0.14.1
  • Exports4
  • LanguageHaskell2010
  • LicenceBSD-2-Clause
  • SourceCslJson.hs
datadata CslJson a
#
Instances13Functor, Foldable, Traversable, Eq, Ord, Show, …
valuerenderCslJson
  1. :: Bool

    Escape & using entities

  2. -> Locale

    Locale (used for quote styles)

  3. -> CslJson Text

    CslJson to render

  4. -> Text
#

Render CslJson as Text. Set the first parameter to True when rendering HTML output (so that entities are escaped). Set it to False when rendering for CSL JSON bibliographies.