HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleciteproc-0.8.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.8.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.